Copy Location Constraint¶
The Copy Location constraint forces its owner to have the same location as its target.
Note that if you use such a constraint on a connected bone, it will have no effect, as it is the parent’s tip which controls the position of your owner bone’s root.
- Data ID used to select the constraints target, and is not functional (red state) when it has none.
- X, Y, Z
These buttons control which axes are constrained.
- The Invert buttons invert their respective preceding coordinates.
- When enabled, this control allows the owner to be translated (using its current transform properties), relative to its target’s position.
- Standard conversion between spaces.
Let us animate the Copy Location constraint and its Offset button. For example, you can make your owner (let us call it “moon”) describe perfect circles centered on the (0.0, 0.0, 0.0) point (using e.g. pydriven LocX/LocY animation curves, see Drivers), and then make it copy the location of a target (call it “earth”, for example) with the Offset button enabled. Congratulation, you just modeled a satellite in a (simplified) orbit around its planet. Just do the same thing with its planet around its star (which you might call “sun”, what do you think?), and why not, for the star around its galaxy.
Here is a small animation of a “solar” system created using (among a few others) the technique described above:
Note that, this “solar” system is not realistic at all (the wrong scale, the “earth” is rotating in the wrong direction around the “sun”, …).
You can download the blend-file (download here) used to create this animation.
Furthermore you can also animate a few properties of each constraint using animation curves: e.g. you can animate the Influence of a constraint. It is used to first stick the camera to the “moon”, then to the “earth”, and finally to nothing, using two Copy Location constraints with Offset set.