[page:Constraint] →
[name]
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
[page:Object3D.constraints Object3D.constraints] property.
Constructor
[name]([page:Object3D target])
This creates a generic target constraint.
Properties
See the base [page:Constraint] class for common properties.
[property:Boolean isTargetConstraint]
Used to check whether this or derived classes are target constraints. Default is *true*.
[property:Object3D target]
The target which this constraint depends on. Should be [page:Object3D].
[property:String type]
The constraint's type. Equals to "TargetConstraint".
Methods
See the base [page:Constraint] class for common methods.