flexible-collision-library / fcl

Flexible Collision Library
https://flexible-collision-library.github.io/
Other
1.39k stars 417 forks source link

How to correctly handle Mesh to Mesh collision checking? #611

Open Levi-Armstrong opened 11 months ago

Levi-Armstrong commented 11 months ago

This seems to only be an issue when using FCL to collision check Mesh to Mesh using compute distance request when the two objects are in collision. When using primitive shapes and convex hulls this does not seem to be an issue because there is only ever one contact results, but for mesh to mesh and mesh to primitive/convex there are multiple contacts. Though when using distance there is no way to get all contacts when an a collision occurs between these two shapes. Is the correct way using FCL to detect this when using compute distance and the call the collide method?