Abstract base class for constraints that depend on a target object.
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.
This constructor creates a generic constraint (almost unusable).
See the base Constraint class for common properties.
Used to check whether this or derived classes are target constraints. Default is true
.
The target which this constraint depends on. Should be Object3D.
The constraint's type. Equals to 'TargetConstraint'
.
See the base Constraint class for common methods.
For more info on how to obtain the source code of this module see this page.