![]() |
Help Fluid particles will pass through MeshCollider - Printable Version +- Obi Official Forum (https://obi.virtualmethodstudio.com/forum) +-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html) +--- Forum: Obi Fluid (https://obi.virtualmethodstudio.com/forum/forum-3.html) +--- Thread: Help Fluid particles will pass through MeshCollider (/thread-1581.html) |
Fluid particles will pass through MeshCollider - BelieveShuai - 21-12-2019 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 RE: Fluid particles will pass through MeshCollider - josemendez - 21-12-2019 (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. 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/what-is-tunneling.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. |