Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Pause emitter without restarting
#2
(18-11-2022, 01:41 PM)gamedev Wrote: Hi, when I deactivate the emitter component it stops emission while also destroying the emitted particles. Is it possible to only stop emission, while keeping the already emitted particles alive until their lifetime ends? Kind of like turning a tap on and off without destroying the water already in the sink.

Hi!

Emission is controlled via the emitter's "speed" property. This works exactly like a faucet: it determines the speed at which fluid flows out of the emitter, and as a result, the volume of fluid/amount of particles per second. See: http://obi.virtualmethodstudio.com/manua...tters.html

Just set speed to zero to stop emission, then back to whatever value it had to resume it.

kind regards,
Reply


Messages In This Thread
Pause emitter without restarting - by gamedev - 18-11-2022, 01:41 PM
RE: Pause emitter without restarting - by josemendez - 18-11-2022, 01:51 PM
RE: Pause emitter without restarting - by gamedev - 18-11-2022, 02:14 PM