A constraint which restricts the position of the constrained object
based on the target's position. Thus the target object behaves like an
"inivisible wall", "floor", etc...
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.
The axis to apply the restriction along. Can be one of the "X", "-X", "Y", "-Y", "Z", "-Z".
Positive means that the constrained object's position along this axis can only be above
the
.offset value. Negative means - only under the
.offset value. Default is "Y".
Used to check whether this or derived classes are floor constraints. Default is true.
The constraint's type. Equals to "FloorConstraint".
When enabled, the constraint takes the target’s rotation into account. This allows you to have a “floor” plane of any orientation you like. Default is false.