Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Killing Particles While Not Spawning New Ones
#1
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?
Reply
#2
(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,
Reply