Collision Detection for Identical Meshes and Open Curve Intersections #4137
-
I want to determine whether two meshes are colliding. However: Boolean operations require the intersection to form a closed curve. How can I detect a collision when the two input meshes are identical? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
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. MeshLib/source/MRMesh/MRMeshBoolean.h Lines 98 to 99 in 3f13d6a
You can consider it as all mesh or as none, based on your task
Closed curve is required to do |
Beta Was this translation helpful? Give feedback.
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:
MeshLib/source/MRMesh/MRMeshBoolean.h
Lines 98 to 99 in 3f13d6a
You can consider it as all mesh or as none, based on …