How to create a Distance Constraint
Add a Distance Constraint to an object
Use the Constraints section of the Inspector to add a Distance Constraint to an object.
The Distance Constraint makes an object stay close, far, or exactly at a specific distance to another object.
Add a Distance Constraint to an object