Help Pause emitter without restarting - 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: Help Pause emitter without restarting (/thread-3652.html) |
Pause emitter without restarting - gamedev - 18-11-2022 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. RE: Pause emitter without restarting - josemendez - 18-11-2022 (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/manual/6.3/emitters.html Just set speed to zero to stop emission, then back to whatever value it had to resume it. kind regards, RE: Pause emitter without restarting - gamedev - 18-11-2022 Ah that's great, thank you very much! |