
7
Hard Constraints
n the last chapter , we looked at springs both as a force generator , and as one way of
Ihaving mu ltiple objects affect one another. This is the first time we’ve had objects
that move based on the motion of other objects.
While springs can be used to represent many situations, there are limits. When we
want objects to be tightly coupled together, the spring constant we’d need is practically
impossible to simulate. For sitations where objects are linked by stiff rods, or kept
apart by hard collisions, springs are not a viable option.
In this chapter, I’ll talk about hard constraints. Initially, we’ll look at the most
common hard c onst ...