PDA

View Full Version : XPresso: For each object in hierarchy -> Random value ?


petz
10-05-2012, 04:03 PM
Hi,

I am using a Hierarchy Node to iterate over all my objects. Now for each object I want to generate a random Integer value and set this object's name to this integer value. The problem with my solution is that all objects do get the same random integer value assigned to it. How can I fix this?

Patrick

Srek
10-05-2012, 04:21 PM
Put an object index node inbetween and use the index to feed the random seed

CGTalk Moderation
10-05-2012, 04:21 PM
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.