19-10-2018, 10:11 AM
(17-10-2018, 08:28 AM)josemendez Wrote: 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.
That's great, thank you; I'll have to have a think about efficiency and the best way to put the pieces of this together, but that gives me everything I need so far.