Obi Official Forum

Full Version: Fluid particles will pass through MeshCollider
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I found that I tied MeshCollider to my container. If the speed is slightly faster, the fluid particles will pass through my container wall. If I control Transform to shake the container back and forth, the fluid will be directly scattered through the container wall.

https://www.youtube.com/watch?v=Evv7Hi2PGwQ
(21-12-2019, 01:29 PM)BelieveShuai Wrote: [ -> ]I found that I tied MeshCollider to my container. If the speed is slightly faster, the fluid particles will pass through my container wall. If I control Transform to shake the container back and forth, the fluid will be directly scattered through the container wall.

https://www.youtube.com/watch?v=Evv7Hi2PGwQ

Hi!

Your fluid container wall is extremely thin, compared to the size of the particles. This issue is called "tunneling" (see: https://ianqvist.blogspot.com/2010/10/wh...eling.html) and is very common in all physics engines, the root cause -that computers treat time as a discrete quantity- cannot be avoided. You could:

- Increase the thickness of your container.
- Decrease the velocity of your fluid.
- Increase the size of your particles (fluid resolution)
- Increase the amount of solver substeps.