
10
Laws of Motion
for Rigid Bodies
n this chapter we’re going to repeat the work we did in Chapters 2, 3, and 5, this
Itime working with rigid bodies rather than particles. We will do this by creating a
new class, the RigidBody.
In Section 9.1.3, I mentioned that if an object’s origin is placed at its center of
mass, then its l inear motion will be just like that of a particle. We’ll make use of that
fact in this chapter. Almost all the code for the linear motion of our rigid bo dy is lifted
directly from our particle class. To this foundation we will add two things:
1. The laws of motion for rotating bodies, equivalent to the way we implemented
Newt