Back to rules
RuleTested

Run web physics on a fixed timestep

Keep simulation results stable across fast displays, slow frames, and recording tools.

Checked July 9, 2026

Ready to use

Rule text

1 line
Advance the physics world with a fixed timestep, accumulate elapsed render time, and cap the number of catch-up steps. Interpolate visual transforms when the renderer needs smoother motion.

Why it helps

The reasoning behind the entry

Variable timesteps make collision response and joint behavior depend on frame rate.

Filed under

Use it in more than one place

Platform
Web