I'm trying to get the collision points(or triangles) between two meshes(btBvhTriangleMeshShape) in a collision world.
But when i'm doing this :
Code: Select all
mCollisionWorld->performDiscreteCollisionDetection ();
int numManifolds = mCollisionWorld->getDispatcher()->getNumManifolds();
std::cout << "Cut :"<< numManifolds <<std::endl;
I can do Ray picking on both objects and the two objet are collide (they do not move).