I try to resolve penetrations of two btBoxShapes. Therefore i want to get all contact pairs from Bullet properly. I'm using the Bullet contactPairTest.
Code: Select all
objectA = (btCollisionObject*) m_boxA_body;
objectB = (btCollisionObject*) m_boxB_body;
dyn_world->contactPairTest(objectA,objectB, renderCallback);
Does anyone has an explanation for this result ? Or is it not possible to get all contact pairs properly with the GJK algorithm of Bullet ? I would really appreciate some hints to solve this problem of the collision detection.
Michael

