A constraint forces its owner to stay either further from, nearer to, or exactly at a given distance from its target.
Constraints are used to set up various relations between objects by affecting their position, rotation and scale. Can be used with the Object3D.constraints property.
target — constraint's target object.
See the base TargetConstraint class for common properties.
The distance from target. Default is
The percentage of influence the constraint has on the object. Default is
Used to check whether this or derived classes are limit distance constraints. Default is
Specifies the distance clamping mode. Default is
The constraint's type. Equals to
See the base TargetConstraint class for common methods.
For more info on how to obtain the source code of this module see this page.