Page 1 of 1

Automatic interpolation of movement

Posted: Sun Jan 31, 2016 12:19 pm
by albenchers
On http://bulletphysics.org/mediawiki-1.5. ... _The_World at the bottom it says:
When you pass Bullet maxSubSteps > 1, it will interpolate movement for you. This means that if your fixedTimeStep is 3 units, and you pass a timeStep of 4, then it will do exactly one tick, and estimate the remaining movement by 1/3.
But I also saw this advertised as a feature of Motion States. Does this mean you can get the interpolation behavior without actually using Motion States? Perhaps Motion States are just re-using this feature of the step simulation implementation?

Re: Automatic interpolation of movement

Posted: Mon Feb 01, 2016 1:50 am
by Basroil
If you check the code for btDiscreteDynamicsWorld, you'll see it internally uses motion states to do the interpolation