Obi Official Forum
Spawn Particles Based on Bool? - 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: Spawn Particles Based on Bool? (/thread-1185.html)



Spawn Particles Based on Bool? - Komsur - 16-05-2019

Hi, I've got a bool that gets set to true elsewhere, which should start the Obi emitter, I've got it disabled until that point, but it doesn't work if enabled at any other time apart from being enabled at load. Any ideas?

Thanks.


RE: Spawn Particles Based on Bool? - josemendez - 16-05-2019

(16-05-2019, 10:35 AM)Komsur Wrote: Hi, I've got a bool that gets set to true elsewhere, which should start the Obi emitter, I've got it disabled until that point, but it doesn't work if enabled at any other time apart from being enabled at load. Any ideas?

Thanks.

Do not disable/enable the entire emitter component at once. Instead, set its "speed" to zero to stop emission, then set it to a non-zero value to resume emission.