Obi Official Forum
Killing Particles While Not Spawning New Ones - Printable Version

+- Obi Official Forum (https://obi.virtualmethodstudio.com/forum)
+-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html)
+--- Forum: Obi Fluid (https://obi.virtualmethodstudio.com/forum/forum-3.html)
+--- Thread: Killing Particles While Not Spawning New Ones (/thread-1123.html)



Killing Particles While Not Spawning New Ones - p3gamer - 25-04-2019

To kill active particles, I've tried using emitter.KillAll( ) and I've also tried setting the emitter.life[index] to 0. The particles are removed, but then a new set of particles are created. Is there a way to kill those particles while not spawning new ones?


RE: Killing Particles While Not Spawning New Ones - josemendez - 25-04-2019

(25-04-2019, 08:22 AM)p3gamer Wrote: To kill active particles, I've tried using emitter.KillAll( ) and I've also tried setting the emitter.life[index] to 0. The particles are removed, but then a new set of particles are created. Is there a way to kill those particles while not spawning new ones?

Call KillAll(), then set the emitter's speed to zero. It will cease to emit new particles.

cheers,