340 Chapter 14 Collision Resolution
14.2 Collision Impulses
To resolve the relative motion of the two objects, we need to calculate four impulses,
including the linear and angular impulses for each object. If there is only one object
involv ed in the collision (if an object is colliding with an immovable object, such as
the ground), then we only need two values—the impulse and impulsive torque for
the moving object.
To calculate the impulse and impulsive force on each object, we go thr ough the
following series of steps:
1. We work in a set of coordinates that are relative to the contact: this makes lots of
the math much simpler. So first we create a transform matrix to convert into and
out of this new set of coordinates.
2. We work out the change i