Hi,
I have particle collision event that is giving me trouble. When I have a collision I keep the original particle and emit a new particle. I need to know the particle id of the new particle. Any ideas?
Thanks.
ww
Hi,
I have particle collision event that is giving me trouble. When I have a collision I keep the original particle and emit a new particle. I need to know the particle id of the new particle. Any ideas?
Thanks.
ww
I think there is an "custom" particle-attribute called parentID or something, try to add it from the general-tab in the Add Dynamic Attributes in the particleShape-attribute-editor.
Best, T.
Thanks stengah, but wouldn't the old particle be the parent? And I know the old particle. I need a childID. I could use the parentID to search the list of particles but that would kill the process using mel when the count grew too big.
The info has to be sitting there. I just can't see it.
Or do I have what you are saying wrong?
ww
What do you need the ID for? You could use particleID, but to me it seems you are better off emitting the new particles (on collition) into a new particle object. It coulsd still behave the same or slightly different.
Please tell me what you plan to do, best regards, T.
I'm trying to adjust per particle attributes on the new and the old particle after a colision has taken place. I just don't know how to reach the new particle.
ww
Then you should let the old particles die on collission, while emitting new particles into a new particle object.
It can look as the same object, but you gain control over two objects.
Or you could, if you want the change to happen after the first collition, say: if (event == 1)
then.....
event 2 is collission two, etc. this way you only affect particles that have collided.
Hope this helps, this is perhaps a little bit not exactly what you want. ![]()