Game Developer
mediumgame-dev-fixed-timestep
Fixed timestep vs variable timestep: which should you use for physics and why?
Answer
Variable timestep ties simulation to frame time, which can cause unstable physics when FPS fluctuates.
Fixed timestep runs physics at a constant rate (e.g., 60 Hz) and can interpolate for rendering. It improves determinism and stability but needs careful handling when frames are slow.
Related Topics
PhysicsPerformanceGame Programming