I'm working with Bullet and OpenGL and basically I have one body, that I want it to appear in the screen but not to suffer collisions.
It only has to be visual.
I'am creating the object like this:
btBoxShape* colShape = createBoxShape(btVector3(1, 1, 1));
m_collisionShapes.push_back(colShape);
btTransform startTransform;
startTransform.setIdentity();
btScalar mass(0.5f);
bool isDynamic = (mass != 0.f);
btVector3 localInertia(0, 0, 0);
if (isDynamic)
colShape->calculateLocalInertia(mass, localInertia);
startTransform.setOrigin(btVector3(5.0, 0.5, 0.0));
createRigidBody(mass, startTransform, colShape);
It does not have to collide or interact with any other bullet body.
Is there any flag or something like that in order to get this?