[name]
Abstract base class for constraints.
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]()
This creates a generic constraint.
Properties
[property:Boolean isConstraint]
Used to check whether this or derived classes are constraints. Default is *true*.
[property:Boolean mute]
Mutes the constraint so it won't affect the constrained object. Default is *false*.
[property:String name]
The constraint's name. Default is an empty string.
[property:String type]
The constraint's type. Equals to "Constraint".
Methods
[method:Constraint clone]()
Return a new constraint with the same parameters as this constraint.
[method:Constraint copy]([page:Constraint source])
Copy the parameters from the passed "source" constraint into this constraint.
[method:null update]([page:Object3D obj])
Updates the passed object's transformations by applying the constraint to it.