Collision between two Mesh model

Butters9637
Posts: 7
Joined: Tue Mar 06, 2007 3:26 am

Collision between two Mesh model

Post by Butters9637 »

hi!
Maybe the question sounds a little naive: I have two objects, one with btBvhTriangleMeshShape as it`s shape, the other with btConvexTriangleMeshShape and has mass.
the thing is they can go though each other.and I use function hasContactResponse() , the first one returns 1, the second one returns 586! that`s weird.
does anyone know how to make two objects with different Mesh shape can have contact?

Edit: Ball with shape of btSphereShape can collide with btBvhTriangleMeshShape Object.

Edit: I have a more weird problem: I`ve changed btSphereShape to btConvexTriangleMeshShape.The ball can still collide with btBvhTriangleMeshShape object! but others still failed even they are initialized the same way as the ball. is it a bug or I didn`t do something needed?