A constraint which makes the constrained object track the target.
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.
In Verge3D we use right-handed coordinate system with the Y axis pointing in the up direction, but Blender and 3ds Max uses right-handed coordinate system with Z axis pointing in the up direction (
Verge3D wiki). So, to correct the rotation for cameras and lights, set
fixCameraLightRotation = true. Default is
false.
Used to check whether this or derived classes are trackTo
constraints. Default is true.
The axis of the constrained object that tracks the target. Can be
one of the "X", "-X", "Y", "-Y", "Z", "-Z". Default is "X".
The constraint's type. Equals to "TrackToConstraint".
The axis of the constrained object that's always aligned with the
world space Y axis as much as possible. Can be one of the "X",
"-X", "Y", "-Y", "Z", "-Z". Default is "Y".