Collision seems not working

benmiaou
Posts: 1
Joined: Fri Mar 28, 2014 5:07 pm

Collision seems not working

Post by benmiaou »

Hello,

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;
numManifolds always = 0;
I can do Ray picking on both objects and the two objet are collide (they do not move).