Skip to content

CollisionQueries don't detect deep intersections #328

Answered by RossNordby
maxwave11 asked this question in Q&A
Discussion options

You must be logged in to vote

The mesh could be made double sided by duplicating the triangles and flipping the winding on one of the duplicates, but that will have other consequences (like it being easier for stuff to get stuck behind walls).

Mesh-mesh collision will not give you a very useful estimate of penetration distance; meshes are composed of infinitely thin one-sided triangles, and the contacts they produce reflect that. That's part of the reason why I frequently and strongly recommend against simulation configurations that would permit mesh-mesh collisions.

Robust solid meshes (or an equivalently expressive solid concave representation) are on the longer-term to-do list. V1 had them, but I never liked the im…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Kermalis
Comment options

Answer selected by maxwave11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants