From BlenderWiki

Jump to: navigation, search

Limit Rotation Constraint

Mode: Object and Pose modes

Panel: Constraints (Object context and sub-context, F7, or Editing context, F9, when in Pose mode)

Description

An object or bone can be rotated around the X, Y and Z axes. This constraint restricts the amount of allowed rotations around each axis, through lower and upper bounds.

It is interesting to note that even though the constraint limits the visual and rendered rotations of its owner, its owner’s data block still allows (by default) the object or bone to have rotation values outside the minimum and maximum ranges. This can be seen in the Transform Properties panel (N). When an owner is rotated and attempted to be rotated outside the limit boundaries, it will be constrained to those boundaries visually and when rendered, but internally, its rotation values will still be changed beyond the limits. If the constraint is removed, its ex-owner will seem to jump to its internally specified rotation.

Similarly, if its owner has an internal rotation that is beyond the limit, rotating it back into the limit area will appear to do nothing until the internal rotation values are back within the limit threshold (unless you enabled the For Transform option, see below).

Setting equal the min and max values of an axis, locks the owner’s rotation around that axis… Although this is possible, using the Transformation Properties axis locking feature is probably easier.


Options

The Limit Rotation constraint panel.
Target
This constraint uses no target.
LimitX, LimitY, LimitZ
These buttons enable the rotation limit around respectively the X, Y and Z axes of the owner, in the chosen CSpace.
The min and max numeric fields to their right control the value of their lower and upper boundaries, respectively.
Note that:
  • If a min value is higher than its corresponding max value, the constraint behaves as if it had the same value as the max one.
  • Unlike the Limit Location constraint, you cannot enable separately lower or upper limits…
For Transform
We saw that by default, even though visually constrained, the owner can still have rotations out of bounds (as shown by the Transform Properties panel). Well, when you enable this button, this is no more possible – the owner transform properties are also limited by the constraint.
Note however that the constraint does not directly modifies the rotation values: you have to rotate one way or the other its owner, for this to take effect…
CSpace
This constraint allows you to chose in which space evaluate its owner’s transform properties.