flexible-collision-library / fcl

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

Managed internal collision check returns coplanar faces - how do I distinguish coplanar from intersecting? #502

Open Moult opened 3 years ago

Moult commented 3 years ago

If I have 2 mesh boxes next to each other in a collision manager, which share a coplanar face, a managed internal collision check result will show that they both collide. This is technically true, I guess, as they are coplanar. Is there a way to distinguish between whether or not they are simply coplanar, or whether one is actually embedded a certain distance (given a tolerance) inside the other shape?

I'm running this with Python-fcl but I figure I'd ask here as it seems to be unrelated to Python bindings.

SeanCurtis-TRI commented 3 years ago

Can you share the code snippet so we can make sure we're having the same conversation?