A constraint which makes the constrained object behave like a child of the target object without actual parenting.
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.
Used to check whether this or derived classes are childOf constraints. Default is true
.
The offset matrix for the constrained object. Applied in the parent space. Default is the identity matrix.
The constraint's type. Equals to 'ChildOfConstraint'
.
See the base TargetConstraint class for common methods.
For more info on how to obtain the source code of this module see this page.