how to detect collision and get contact point

OSasuke
Posts: 47
Joined: Tue Dec 09, 2008 10:12 am

how to detect collision and get contact point

Post by OSasuke »

Hi there. I need a help.

For example I have two btRigidBody, I would see if there is collision between the two rigid bodies , if there is i would have the contact point.

btRigidBody rb1,rb2
rb1 is a plane and rb2 is a rocket, when there is a collision i would create a prarticle system of explosion in the contact point.