PDA

View Full Version : Kill all Particles?


AkaKico
07-03-2007, 06:36 PM
This should be simple... can't figure it out!

There are 2 emitters
When all the particles are gone from group 1, I want all the particles of group 2 to stop emitting and DIE the same instant.

Why won't the particles die when the statement is true? A compare node and tells me that it is 'true' so I don't understand. How do I make the white particles all die when the green have gone?

Please see attached file.

Thanks so much!

Srek
07-03-2007, 07:10 PM
This won't work for three reasons.
1. You use two independent PPass nodes instead of PPass AB
2. By switching off emission of the white particles you prevent them from beeing emitted when the animation starts again. To switch the white emitter back on you would need white particles to be iterated.
3. Once no Green particle is available anymore the iteration will stop and the PDie node will never be triggered.

Hope this helps
Björn

AkaKico
07-03-2007, 07:52 PM
Wow... I was way off! I managed to change it around to get the same effect I wanted by seeing what you wrote, first swapping it to ABpass, then making group 2 swap to a group 3 only if the frame was beyond the start of the group 1 emitter so I didn't need to worry about iteration (which always kicks my butt) and group 3 is constantly being killed off.

Thanks Srek!

CGTalk Moderation
07-03-2007, 07:52 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.