Distance Constraint
Last updated
Last updated
This article is out of date! Find the new version here.
The Distance Constraint makes an object stay close, far, or exactly at a specific distance to another object.
Use the Constraints section of the Inspector to add a Distance Constraint to an object.
Use the new constraint's fly-out menu to select a target for this constraint.
Moving the target object now causes the constrained object to stay close (which is the default mode).
The Strength property determines how much the constrained object is affected.
A Strength of 0% means the constraint won't have any effect.
The distance that the object will be constrained from the target object. A red constraining circle is drawn on the stage to represent this value.
The owner is constrained closer than the Distance setting. In other words, the owner is constrained inside the constraining sphere.
The owner is constrained further than the Distance setting. In other words, the owner is constrained outside the constraining sphere.
The owner is constrained exactly at the distance of the constraining sphere.