Rigid body collision
Posted: Wed Jan 25, 2012 10:31 am
Hi,
I am new to bullet so i am struggling to google my problem because i don't know what to search.
In my game i have three objects, Body A (rigid body of btRaycast vehicle), Body B( static object), Body C (static object).
Now when body A collides with Body B , bullet physics handles it accuratly.
But when Body A collides with Body C, i want to know what are the forces and impulses acting on body A so that i can change it according to my need and then bullet do its remaining work with that data. Any suggestions how to achieve that?
Thanks in Advance.
I am new to bullet so i am struggling to google my problem because i don't know what to search.
In my game i have three objects, Body A (rigid body of btRaycast vehicle), Body B( static object), Body C (static object).
Now when body A collides with Body B , bullet physics handles it accuratly.
But when Body A collides with Body C, i want to know what are the forces and impulses acting on body A so that i can change it according to my need and then bullet do its remaining work with that data. Any suggestions how to achieve that?
Thanks in Advance.