Introduction (Introductie)¶
Constraints are a way to control an object’s properties (e.g. its location, rotation, scale), using either plain static values (like the “limit” ones), or another object, called “target” (like e.g. the “copy” ones).
Even though constraints are useful in static projects, their main usage is obviously in animation.
You can control an object’s animation through the targets used by its constraints (this is a form of indirect animation). Indeed, these targets can then control the constraint’s owner’s properties, and hence, animating the targets will indirectly animate the owner.
You can animate constraints’ settings. e.g. the Influence or when using an armature’s bone as target, animate where along this bone (between root and tip) lays the real target point.
They can make the eyes of a tennis player track a tennis ball bouncing across the court, allow the wheels on a bus to all rotate together, help a dinosaur’s legs bend at the knee automatically, and make it easy for a hand to grip the hilt of a sword and the sword to swing with the hand.
Constraints, in Blender, work with Objects and Bones. Read about using constraints in rigging in the Armature chapter.
Constraints work in combination with each other to form a Constraint Stack.
Adding & Removing Constraints¶
To add a constraint click on the Add Object Constraint menu in the Constraints tab. Alternatively, you can use the Add Constraint (with Targets) operator.
To copy constraints from one object to another use Copy Constraints to Selected Objects.
Any single constraint can be removed by clicking on the “X” button in the constraint’s header. To remove all constants from an object use Clear Object Constraints.
Tip
Tracking constraints can be added/removed using the Track menu.
Tips¶
Constraints are a fantastic way to add sophistication and complexity to a rig.
But be careful not to rush in too quickly, piling up constraint upon constraint until you lose all sense of how they interact with each other.
Start simply. Get to know a single constraint inside and out. Copy Location Constraint is a good first constraint to explore it also has an animation example. Take the time to understand every fundamental concept behind it, and the other constraints will make far more sense.