Previous Document Next Document

Relations > Basic Constraints > Distance constraint

Distance constraint


This relation forces one object to continually maintain a certain distance from another. For example, if the cube has a distance constraint of 3 in relation to the sphere, no matter where you move the sphere, the cube will always be 3 units away.


Note: With a pose constraint, you can make one object rigidly follow another by a certain distance, but a distance constraint will make the object flop around while maintaining the chosen distance.

To apply a distance constraint:
  1. Multi-select the follower and then the leader, in that order.
  2. Choose Relations > Distance Constraint.
  3. When you translate the leader, the follower moves around to maintain a specific distance from the leader. You can also translate the follower but it moves in such a way that it keeps the same distance from the leader.

  4. By default the constrained distance is 1 unit. To change this distance, do one of the following:

Distance Constraint Parameters

Active

Toggles the constraint on and off.

Weight

Determines the weight of this constraint in relation to other constraints acting on the object.

Distance

Determines the distance in units separating the 2 objects.


See also:

Unlocking constraints

Using weight to control multiple constraints

"To view the constraint in the viewports:"

Previous Document Next Document