Handling collisions manually

toastie
Posts: 8
Joined: Tue Jun 17, 2008 10:00 pm

Handling collisions manually

Post by toastie »

Hello,

I am pretty new to Bullet and collision/physics code in general, so forgive me if I ask stupid questions. I am using Bullet for collision handling only for now. I have a btCollisionWorld and I add btCollisionObjects for all my 3d entities which i update with the entities' positions/rotations on every frame and to check collision im checking the contact manifolds in the world. This works great, but my question is whether there is a standard approach and/or helper stuff in Bullet to doing the standard stuff like stopping the colliding object from actually going through the other one or pushing the other object along the other object's direction vector (without using the dynamics part). And if there isn't, i would appreciate a prod in the right direction.

Thank you!
toastie
Posts: 8
Joined: Tue Jun 17, 2008 10:00 pm

Re: Handling collisions manually

Post by toastie »

I think i got it. I'm using m_normalWorldOnB. Does that seem right?