![]() |
![]() |
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:
- Multi-select the follower and then the leader, in that order.
- Choose Relations > Distance Constraint.
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.
- By default the constrained distance is 1 unit. To change this distance, do one of the following:
- In the World Explorer or Parameter Editor, select the constraint under the follower object then change its Distance parameter.
- Turn off the Lock button to disable constraints, then translate the follower in the viewports. When it is at the desired distance from the leader, turn on the Lock button. Notice the Distance parameter is updated in the constraint parameters.
Distance Constraint Parameters
Determines the weight of this constraint in relation to other constraints acting on the object.
![]() |
![]() |