Page 1 of 1

Collision seems not working

Posted: Sat Mar 29, 2014 10:07 am
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).