Voxel Planar Collision

A frictionless, perfectly elastic collision of two equal-mass balls. The tabletop is the planar x–z surface; all motion and impulses are along the horizontal x axis.

Before · approach
After · separated
Drag to orbit · wheel to zoom
red ball blue ball collision point

Before and after

Rightward is positive. The arrow beside each ball is its velocity vector; arrow length is proportional to speed.
State Red ball · m = 1 Blue ball · m = 1
Before
→ u₁ = +2.0 m/s
← u₂ = −1.0 m/s
After
← v₁ = −1.0 m/s
→ v₂ = +2.0 m/s

Chosen collision model

The balls are treated as equal masses on a smooth, frictionless plane. Only a normal impulse along x is applied, and the coefficient of restitution is e = 1 (perfectly elastic).

For equal masses, the collision exchanges the balls’ velocities. Momentum and kinetic energy are both conserved.

Spin effects are explicitly omitted: no angular velocity, tangential friction impulse, or rotational energy is modeled.

v₁ = (m₁ − m₂)/(m₁ + m₂) · u₁
     + 2m₂/(m₁ + m₂) · u₂

v₂ = 2m₁/(m₁ + m₂) · u₁
     + (m₂ − m₁)/(m₁ + m₂) · u₂

m₁ = m₂ ⇒ v₁ = u₂, v₂ = u₁