「Doc:2.6/Manual/Constraints/The Stack」の版間の差分

提供: wiki
移動先: 案内検索
(Adding/Removing a Constraint: grammar/punctuation)
 
(1版 をインポートしました)
 
(相違点なし)

2018年6月29日 (金) 04:38時点における最新版

Page status (reviewing guidelines)

Page reviewed and in good shape

The Constraints Stack

A constraint stack example

Constraints are evaluated from top to bottom of the constraint stack, shown in the Constraints panel.

  1. In (A constraint stack example), first the location of the lamp is copied to the owner object.
  2. The copy rotation constraint is ignored (red name, see below).
  3. So the next constraint evaluated is the Child Of one, which is currently reduced.
  4. Finally, the size of our cube is bounded by the Limit Scale last constraint.
So here, the size of the cube is first controlled by the target of the Child Of constraint, within the limits allowed by the next Limit Scale constraint… As with modifiers, order is crucial!

You can move a constraint up and down the stack by using the small up/down arrow buttons that are drawn in its header, to the right of the constraint name. These buttons are only visible when needed, i.e. the top constraint has only the “down” button, the bottom constraint, only the “up” one – and when there is only one constraint in the stack, both buttons are hidden.

Adding/Removing a Constraint

To add a constraint, you can, in the Constraints panel, click on the… Add Constraint button! A menu shows up, listing all available constraints for the current active object (or bone in Pose mode (in which case the constraint will show up in the bone constraints menu). The new constraint is always added at the bottom of the stack.

You can also, in a 3D view, either:

  • Select only the future owner, hit Ctrl⇧ ShiftC, and in the Add Constraint to New Empty Object menu that pops up, select the constraint you want to add. If the chosen constraint needs it, a new Empty object will be automatically added as target, positioned at the owner’s center, and with null rotation.
  • Select first the future target, and then the future owner, hit Ctrl⇧ ShiftC, and in the Add Constraint to Active Object (or Add Constraint to Active Bone) menu that pops up, select the constraint you want to add. If the chosen constraint needs it, the other selected object/bone will be used as target.

Note that these pop-up menus do not display all the available constraints.

To remove a constraint, click on the “X” button of the header of the constraint you want to delete, in the Constraints panel. You can also remove all constraints from the selected object(s), using the Object » Constraints » Clear Object Constraints (or Pose » Constraints » Clear Pose Constraints… or hit CtrlAltC).