17-10-2018, 08:28 AM
(This post was last modified: 17-10-2018, 08:28 AM by josemendez.)
(16-10-2018, 04:31 PM)Mitch@PG Wrote: That's fantastic, thank you, exactly what I need to proceed.
Any thoughts on detecting if an arbitrary point is "within" an Obi Fluid volume?
Hi,
Fluid is discretized as particles, so checking if a point is "within the volume" is equivalent to checking if it is close enough to any particle. Using a small spherical trigger would do the trick, just like in the "Uninstantiating particles within the radius of a Vector3 location" case. Just make sure the collider is roughly the same radius as a particle.