Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


xMin

Returns or specifies the minimum angular motion about the x-axis.
Read time 1 minuteLast updated 12 days ago

Definition

public float xMin { get; set; }

Remarks

The value returned by this property depends on the current value of the JointAngularLimitHandle.xMotion property. If it is ConfigurableJointMotion.Locked, then it will always return 0. If it is ConfigurableJointMotion.Free, then it will always return the lower limit of JointAngularLimitHandle.xRange. If it is ConfigurableJointMotion.Limited, then it will be clamped between the lower limit of JointAngularLimitHandle.xRange and the current value of JointAngularLimitHandle.xMax.