Bullet Physics Collision Question

Okay, so I’ve got collision detection with Bullet Physics… but my object keeps bouncing off of the object. I’m using a vehicle, btw. All I want is for the vehicle to go through the object… How would I do that? Thanks…



-NomNom

Change the collision and/or collidewith group bitmask. You can also use the CollisionGroupListener

I already have implemented the PhysicsCollisionGroupListener and PhysicsCollisionListener… How would I use this “bitmask”? Sorry for the noobish questions :P. Thanks.



-NomNom

Its explained in the javadoc. Theres constants that represent single groups. If you already implement GroupListener, just return false if the collision should not happen.