stepSimulation trouble

dzelzs
Posts: 1
Joined: Wed Jan 29, 2014 11:03 am

stepSimulation trouble

Post by dzelzs »

Hello, everybody, I'm bullet newcomer and recently I stumbled over a btDynamicsWorld::stepSimulation function.
I have two ways I can call it.
One of them is to call it with timeStep = *time_from_last_calling*, maxStep = 1. The world seems to be frozen. The timeStep is equal to 0.0007 or about.
The second is to call it with timeStep = 0.2, maxStep = 20. That way all is working just fine.

I just don't understand why the first way doesn't work. It definitely meets timeStep < maxSubSteps * fixedTimeStep inequality.

I'm sorry I've searched not long enough. I'm sure there is answer somewhere.