Back to rules
RuleSource Checked

Give Box2D sensible world units

Model ordinary objects in meter-like units instead of sending pixel coordinates directly into physics.

Checked July 7, 2026

Ready to use

Rule text

1 line
Choose a stable pixels-to-world scale and keep typical moving objects near ordinary meter-like sizes. Convert only at the render boundary instead of mixing pixels and world units throughout the simulation.

Why it helps

The reasoning behind the entry

Extreme coordinate scales reduce numerical stability and make tuning harder to reason about.

Filed under

Use it in more than one place

Ecosystem
General
Physics
Box2D
Platform
WebPCMobile