Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Detecting if Vector3 is within ObiFluid volume?
#4
(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.
Reply


Messages In This Thread
RE: Detecting if Vector3 is within ObiFluid volume? - by josemendez - 17-10-2018, 08:28 AM