Two Particle Collision

Setup

  1. Two spheres of masses m1,m2

  2. Initial velocities u1,u2

Detection

TODO

Handling

Conserving linear momentum,

(1)m1u1+m2u2=m1v1+m2v2

By the definition of the coefficient of restitution,

(2)v2v1u1u2=e

From (1) and (2)

Let,

(3)Δu=e(u1u2)

Then,

(4)v1=m1u1+m2u2Δum1+m2
(5)v2=Δu+v1