Maximum allowed rotation, in degrees, in local space.
To disable constraint on an axis, use a value larger than max. e.g.,
// Disable constraint for the x axis
constraint.min[0] = 1;
constraint.max[0] = -1;
Minimum allowed rotation, in degrees, in local space.
To disable constraint on an axis, use a value larger than max. e.g.,
// Disable constraint for the x axis
constraint.min[0] = 1;
constraint.max[0] = -1;
Static Type
Rotation constraint components for local position.
Note
This component currently decomposes the rotation into euler angles, which might create glimbal lock. In addition, the yaw/pitch/roll order is currently not exposed.