From my understanding this is exactly what continuous collision detection aims to prevent.
So I added this code:
Code: Select all
m_dynamicsWorld->getDispatchInfo().m_useContinuous=true;
Am I doing CCD correctly?
Is there anything else I can do to help the problem?
On another note, I dont quite understand the difference between forces and impulses.
And if I want to lock all my motion to the x and y axes, what is the best way to achieve this?
Thanks so much for your help, bullet is a fantastic library.