ThinkingParticles-Assign target to particles


#1

Hi everyone! I’m kind of new to TP (Been messing around with it for just a couple of weeks) and I’ve been assigned with the challenging task of creating a crowd system (I mention this, because probably a lot more questions will arise).
So… here’s my first question… I have two target objects, and I’m trying to make my particles “decide” on the moment they are created if they move towards the position of “target1” or towards “target two”… the problem is that they all choose to move towards the position of the just one target.
How you could assign a random value per particle on the moment when they are created (between 1 and 2), and based on this value make them move towards a certain goal (particles with value 1 moves towards “target1”, and particles with value 2 will go to “target2”)

Thanks in advance


#2

If it’s just two targets - simply put them in two different groups, use the random node to generate 0-1 value for each particle, then use threshold 0-.5 to separate half the particles - the straight output will send them to the group with target1, and the inverted outut will send the to the group with target2. Have in mind that its not a good idea to have more then one initiator (like ppass, the group) in a DS. When you send the particles to the target group, use the PPassAB node.

P.S.: You might throw a look at http://eat3d.com from time to time, they’ll be releasing my TP DVD soon.


#3

Hi Hristo!. Thanks for the reply!.. I think I get the idea and it should work… I’ll try that on monday, since I don’t have a TP licence at home… Also I’ll be on the lookout for your upcoming TP training DVD, I’ve already seen the teasers in your blog and they look awesome, I’ll definetly get my hands on that when its released
Thanks


#4

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.