Center Aligning Grid of Iterators.

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Search this Thread Display Modes
  01 January 2013
Center Aligning Grid of Iterators.

So I decided to take a step back in TP to focus on simpler maths. But yet again, I am stuck.

I think this is a much simpler problem, but I've been stuck all day. I'm trying to take this grid I made with iterators and I am trying to make it always be centered as I scale up the particles in the X and Y axis. The thing is though that I want it to be centered around it's local axis because from what you see in the screenshot, it will be attached to a helper.

I tried using standard math of (x1 + x2)/2 and (y1 + y2)/2 and then plugging those values into a position Op to get the center point of the X and Y but it doesn't seem to be working. I understand that the Iterator will produce particles on the +/- side of the grid.

I also tried doing an offset but I would have to manually change it each time. I was trying to take the Vector's X and Y values and then multiply them (x1 * x2) and (y1 * y2) then get that result and use it as the center, but I am obviously doing something wrong.

  01 January 2013
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 02:57 PM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.