Laws of Motion

Inertia, F = ma, action and reaction, and uniform acceleration — Newton’s three laws at the core.

Textbook modelSimplified game model
Law of Inertia (Newton’s First Law)
No net force ⇒ v = constant
v ← v × 0.98 (every frame)
Newton’s Second Law (F = ma)
F = ma
v += (F / m)·dt; v = min(v, maxSpeed)
Action and Reaction (Newton’s Third Law)
F_AB = −F_BA  m₁v₁ + m₂v₂ = 0
Only one object moves (the other is treated as an immovable wall)
Uniformly Accelerated Motion
v = v₀ + at  x = v₀t + ½at²
Each frame: x += v·dt; v += a·dt (Euler method)

Physics Laws Quiz All laws

Sources

Checked: 2026-11-29