Back to index

Tutorial 9: 1D Collision Detection and Reaction

1D Collision Detection and Response

In the lectures 1D collision reaction has been discussed here.

The wikipedia entry for momentum has the same formulae as in the notes, but with different variables for initial and final velocities, e.g. for elastic collision:

v1 equation

v2 equation

Where u (or ui) is the initial velocity and v (or vi) is the final velocity.

Note: The above equations are for the case of 1D only.

Elastic Collisions

Inelastic Collisions

2D Elastic Collisions

2D Inelastic Collisions