Mesh with mesh collision sometimes does not generate contact manifold #206
-
Mesh with mesh or mesh with box collision will not always generate contact manifolds. Currently I'm running V2.3, and cannot upgrade to 2.4 in the near future. Is there another way to ensure there was a collision in the narrow phase? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Could you provide a repro? My guess is that this is related to one sided triangles. Triangle collisions and ray tests are one-sided; only tests which see the triangle as wound clockwise in right handed coordinates or counterclockwise in left handed coordinates will generate contacts. To create double sided triangles, you can have two triangles with the same vertices but opposite winding. 2.4 does improve handling of this case a bit. |
Beta Was this translation helpful? Give feedback.
Could you provide a repro? My guess is that this is related to one sided triangles. Triangle collisions and ray tests are one-sided; only tests which see the triangle as wound clockwise in right handed coordinates or counterclockwise in left handed coordinates will generate contacts.
To create double sided triangles, you can have two triangles with the same vertices but opposite winding. 2.4 does improve handling of this case a bit.