I am running at a fixed time step, updating the world with
Code: Select all
dynamicsWorld->stepSimulation(updateFreq, int(1 / updateFreq), updateFreq);
I also have the following settings applied to my world, this fixed an issue with the ball bounce heigh being unpredictable (one bounce higher than the last)
Code: Select all
info.m_splitImpulse = 1;
info.m_splitImpulsePenetrationThreshold = 0;
info.m_numIterations = 20;