I'm trying to run Bullet in an environment where the game portion runs at a fixed step of 10 fps. Attempting to call stepSimulation, I can only get one of two results; super slow motion but perfect physics, or proper speed but tunnelling physics.
I have no idea how to balance the two out.
When I use the maxSubSteps of the stepSimulation I get result 1, otherwise I get result 2.
Code: Select all
physicsWorld->stepSimulation(1.0f / 10.0f, 1, 1.0f / 10.0f);
-P