A constraint which makes the constrained object inherit the target's position.
To influence some object, push a CopyLocationConstraint instance into the Object3D.constraints array.
target — constraint's target object.
See the base TargetConstraint class for common properties.
The percentage of influence the constraint has on the object. Default is 1.0 (100%).
Inverts the X axis. Default is false.
Inverts the Y axis. Default is false.
Inverts the Z axis. Default is false.
Read-only flag to check if a given object is of type CopyLocationConstraint.
The constraint's type. Equals to "CopyLocationConstraint".
When enabled, allows the owner to be translated, relative to its target’s position. Default is false.
Constraint affects the X axis. Default is true.
Constraint affects the Y axis. Default is true.
Constraint affects the Z axis. Default is true.
See the base TargetConstraint class for common methods.
You can use the copy transform puzzle to apply CopyLocationConstraint in a visual manner.
For more info on how to obtain the source code of this module see this page.