Skip to content

Collision Detection for Identical Meshes and Open Curve Intersections #4137

Answered by Grantim
Gihong-Yim asked this question in Q&A
Discussion options

You must be logged in to vote

Hello!

Collision of identical meshes are not well defined, so it is a tricky question.

In boolean we use SoS(Simulation of Simplicity) that allows us to determine some intersection contours on identical meshes by changing them virtually based on topology.
You can get these intersections with this function:

/// returns intersection contours of given meshes
MRMESH_API Contours3f findIntersectionContours( const Mesh& meshA, const Mesh& meshB, const AffineXf3f* rigidB2A = nullptr );


How can I detect a collision when the two input meshes are identical?

You can consider it as all mesh or as none, based on …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Gihong-Yim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants