I'm able to detect collision but the mesh is treated as physical mesh and other meshes can't intersect with it.
How do I make the mesh intersectable? I want to ONLY detect collision
Here is the code I'm using:
btConvexHullShape* invisibleShape = new btConvexHullShape((btScalar*)btVertices, numVertices, sizeof(btVector3));
btAlignedObjectArray<btCollisionShape*> collisionShapes;
collisionShapes.push_back(invisibleShape);
btTransform groundTransform;
groundTransform.setIdentity();
groundTransform.setOrigin(btVector3(0.0f,0.0f,0.0f));
btScalar mass(.0);
//rigidbody is dynamic if and only if mass is non zero, otherwise static
bool isDynamic = (mass != 0.f);
btVector3 localInertia(0,0,0);
if (isDynamic)
invisibleShape->calculateLocalInertia(mass,localInertia);
btDefaultMotionState* myMotionState = new btDefaultMotionState(groundTransform);
btRigidBody::btRigidBodyConstructionInfo rbInfo(mass,myMotionState,invisibleShape,localInertia);
btRigidBody* body = new btRigidBody(rbInfo);
dynamicsWorld->addRigidBody(body);






