Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
fluid disappear from moving bottle
#8
(28-09-2020, 03:06 PM)gontz Wrote: [...] however you move it?

Not possible, not in Obi, not in any physics engine. There's always a movement speed beyond which tunneling will take place. It's built in the digital nature of computers and the way they represent time. Best you can do is try to prevent it in as many cases as possible, but it will never go away completely.

Best practices to avoid tunneling:

- Use the ObiKinematicVelocities component to help CCD.
- Use distance fields or primitive colliders instead of MeshColliders, as they're more robust to tunneling.
- The thicker your container's walls are, the better.
- Limit user interaction speed below tunneling speed.
- If all else fails, reduce your simulation timestep.

Will make an example scene using these for you.
Reply


Messages In This Thread
fluid disappear from moving bottle - by actsai - 21-09-2020, 07:40 AM
RE: fluid disappear from moving bottle - by gontz - 28-09-2020, 03:06 PM
RE: fluid disappear from moving bottle - by josemendez - 28-09-2020, 03:36 PM
RE: fluid disappear from moving bottle - by gontz - 29-09-2020, 01:55 PM
RE: fluid disappear from moving bottle - by gontz - 29-09-2020, 02:16 PM
RE: fluid disappear from moving bottle - by gontz - 03-10-2020, 02:12 PM
RE: fluid disappear from moving bottle - by gontz - 05-10-2020, 02:30 PM
RE: fluid disappear from moving bottle - by gontz - 05-10-2020, 02:45 PM