I was wondering if anyone you of a way of finding and having a specific collision response based on the dynamic type of 2 different objects. Each objects are of the same base class which holds all the Bullet info
Code: Select all
//defines the rigidbody physics of the object
btRigidBody* m_rigidBody;
//The Collision shape of the object
btCollisionShape* m_shape;
//Used to synchronize world transforms with offsets
btDefaultMotionState * m_motionState;
//For orientation
btQuaternion m_qtn;
//For rigidbody transforms
btTransform m_trans;
What I really need I guess is a way of finding all the colliding pairs of my GameObjects. Anyone know how?