Physics interpolation
Also called: fixed timestep interpolation
Related terms: fixed timestep, lerp, rendering
Blending an object’s displayed pose between two completed physics updates. Physics advances in fixed steps, while the screen may draw frames at a different rate. Showing intermediate poses smooths the visible motion without changing the simulation’s collision results or increasing its update rate.
The usual previous-to-current scheme displays motion about one physics step behind the simulation timeline. That delay is a tradeoff for smoothness, especially for responsive player movement. A teleport should reset the stored poses so the renderer does not draw a fast journey across the gap.
- Further reading
- Godot: physics interpolation