
10.2 Newton-2 for Rotation 211
orientation.normalize();
// Calculate the transform matrix for the body.
_calculateTransformMatrix(transformMatrix, position, orientation);
}
Later we will add calls to further calculations for this method.
10.2 Newton-2 for Rotation
In Newton’s second law of motion, we saw that the change in velocity depended on a
force acting on the object and the object’s mass:
¨
p = m
−1
f
For rotation, we have a ver y similar law. The change in angular velocity depends on
two things: we have torque τ rather than force, and the moment of inertia I rather
than mass.
¨
θ = I
−1
τ
Let’s look at these two in more depth.
10.2.1 Torque
Torque (also