Obi Official Forum

Full Version: changing state in runtime
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
My goal is to be able to change the state/behavior of the particles in runtime through code.

Is it possible to modify the blueprint with script in real-time? Or is there another way to achieve my goal?

Thanks
(19-03-2020, 05:51 PM)julienrobert Wrote: [ -> ]My goal is to be able to change the state/behavior of the particles in runtime through code.

Is it possible to modify the blueprint with script in real-time? Or is there another way to achieve my goal?

Thanks

Hi there,

Once a particle is emitted, it has its own properties and does not depend on the blueprint.

The solver contains an array for each particle property: surface tension, viscosity, vorticity, etc. You can set their values as you'd do with any other particle property (positions, velocities...). See:
http://obi.virtualmethodstudio.com/tutor...icles.html