Constraint

TargetConstraint

Abstract base class for constraints that depend on a target object.

Constructor

TargetConstraint(target : Object3D)

target — constraint's target object.

This constructor creates a generic constraint (unusable by its own).

Properties

See the base Constraint class for common properties.

.isTargetConstraint : Boolean

Used to check whether this or derived classes are target constraints. Default is true.

.target : Object3D

The target which this constraint depends on. Should be Object3D.

.type : String

The constraint's type. Equals to "TargetConstraint".

Methods

See the base Constraint class for common methods.

Source

For more info on how to obtain the source code of this module see this page.