11-04-2024, 03:46 PM
(This post was last modified: 11-04-2024, 03:47 PM by josemendez.)
(11-04-2024, 03:30 PM)kodra Wrote: It seems that the only way to control a fluid particle is via "Lifespan" parameter. I think it would be convenient if there is an option to provide a bounding box and all the particles go outside are recycled.
Hi!
It’s trivial to implement this yourself, by using triggers and setting the lifetime of particles outside of it to zero. See:
https://obi.virtualmethodstudio.com/manu...sions.html
https://obi.virtualmethodstudio.com/manu...icles.html
Note that in Obi7/ compute where the amount of particles is much larger, doing this in a compute shader is advisable. See “using compute shaders to process particles” at the end of this link:
https://obi.virtualmethodstudio.com/manu...icles.html