Obi Official Forum

Full Version: How to start/stop emitting from script?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I went through the tutorials on YouTube and the documentation on your website, but I can't find anything related to how to start/stop particles from script.

How do I start/stop emitting? From which component is this done?

Thanks
(20-04-2020, 12:54 AM)emz06 Wrote: [ -> ]Hi,

I went through the tutorials on YouTube and the documentation on your website, but I can't find anything related to how to start/stop particles from script.

How do I start/stop emitting? From which component is this done?

Thanks

The emitter component has a “speed” variable that controls emission speed in m/s. Works just like a real-world faucet: more speed = more fluid volume per second. See:

http://obi.virtualmethodstudio.com/tutor...tters.html

So just set it to zero to stop emitting fluid, back to the value you desire to resume emission.