A constraint which makes the constrained object inherit the target's position.
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.
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
.
Used to check whether this or derived classes are copy location constraints. Default is true
.
The constraint's type. Equals to 'CopyLocationConstraint'
.
When enabled, allows the owner to be translated, relative to its target’s position. Default is false
.
Uses the X axis. Default is true
.
Uses the Y axis. Default is true
.
Uses 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.