Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Obi Cloth + mesh collider tunneling with distance fields
#1
Hello Obi,

I've been trying very hard to remove tunnelling effects on mesh collider with mediocre results.

The tunnelling is happening consistently for sharp objects or at sharp points of objects.

Things I've tried:

- increase cloth particle count. The cloth is a plane of about 3000 particles.
- reduce gravity
- use distance field. decreased max error
- increase obi solver distance iterations = 24, collision iterations = 17
- increase obi collider thickness

Here is a picture of the tunnelling on a chair mesh:

[attachment=328]

Any help would be greatly appreciated!

Here's a gif:

[Image: giphy.gif]
Reply
#2
(10-04-2019, 08:13 AM)bobby Wrote: Hello Obi,

I've been trying very hard to remove tunnelling effects on mesh collider with mediocre results.

The tunnelling is happening consistently for sharp objects or at sharp points of objects.

Things I've tried:

- increase cloth particle count. The cloth is a plane of about 3000 particles.
- reduce gravity
- use distance field. decreased max error
- increase obi solver distance iterations = 24, collision iterations = 17
- increase obi collider thickness

Here is a picture of the tunnelling on a chair mesh:



Any help would be greatly appreciated!

Here's a gif:

[Image: giphy.gif]

Hi there,

Make sure the max depth of the distance field is high enough for it to represent the sharp features of the chair. If you only decrease max error but do not allow the distance field to subdivide further by increasing maximum depth, it will still do a lousy job of representing sharp/small features.
Reply
#3
Thank you for the reply Jose,

I played with the max error and max depth a bit more and solved the issue!
Reply