
14
Collision
Resolution
t’s time to loo k at the final, and most complex, stage of our physics system. We have
Ia set of contact data from the collision detector (from Chapter 13), and we have
the rigid-body equations of motion including torques and forces (from Chapter 10).
We are now ready to co mbine the two and have rotating objects respond to contacts.
Just as in Chapter 7, we w ill first look in detail at the physics of collisions. We
are building a microcollision physics engine, that is, one in which resting contacts are
handled with lots of minicollisions (plus a bit of special-purpose code). Before we can
get the microcollisions of resting