Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  hole in collider
#4
(08-04-2020, 05:51 PM)julienrobert Wrote: When I uncheck Use Distance Field, the fluid goes through the mesh completely.

This is called tunneling and is common in all physics engines. It is exacerbated when using small objects and/or moving things around. See:
https://www.youtube.com/watch?v=ms0Z35GY6pk

MeshColliders are "paper-thin", meaning that they do not have a volume: only the mesh triangles collide with particles. But once a particle has passed trough a triangle in a single timestep, it cannot be projected back.

That's precisely why distance fields are useful: they are solid, even if they are concave. This allows particles to be projected to the surface of the field if they ever get inside.

However, for a one-sided mesh with holes...how can you define what's "inside" and "outside" the mesh, if it has no volume, and it does not divide space into two clear, distinct regions?  You need a closed mesh for this, and that's why distance fields are ill-defined for one sided, holed shapes.
Reply


Messages In This Thread
hole in collider - by julienrobert - 08-04-2020, 05:06 PM
RE: hole in collider - by josemendez - 08-04-2020, 05:09 PM
RE: hole in collider - by julienrobert - 08-04-2020, 05:51 PM
RE: hole in collider - by josemendez - 08-04-2020, 05:59 PM
RE: hole in collider - by julienrobert - 08-04-2020, 06:04 PM
RE: hole in collider - by julienrobert - 13-04-2020, 03:02 PM
RE: hole in collider - by josemendez - 13-04-2020, 04:16 PM