Hey Christopher,
Thank you for your help today. Don't know if I would have figured
this out without your assistance!
May blessings be showered upon you.
Namaste.
Stephen Zinn
[EMAIL PROTECTED]
On Jun 4, 2008, at 12:37 PM, Christopher Wright wrote:
I'm using random generators for the positioning of the sprite.
I want to have a dynamic number of sprites, all which move
independently and randomly from the other.
I've tried using the iterator variables, and when I do that... I
can split the sprite up to see them. However, they all move
together, they are not independently random.
I've been racking my brain trying to figure out how to get
independent random x,y,z values. Using the iterator, I can get
separation. But it isn't random. I almost need a way to determine
the independent x,y,z position of each copy, then perform math on
it to move it from it's current position.
To split up using random inside an iterator, you need to use an
external timebase on the random patch, and then use the iterator's
position/index to offset time for each sprite.
To set the timebase to external, right-click the Random Patch, and
set Timebase to External. Then, attach some math stuff that
generates a huge value based on the index/position, and add the
patchtime (so they all animate uniformly).
Something like this:
<iteratorSprite.qtz>
It's a little tricky, and seems strange, but that's how to do it :)
Hope this is what you're looking for.
--
[ christopher wright ]
[EMAIL PROTECTED]
http://kineme.net/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]