Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


yMin

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

Definition

public float yMin { get; set; }

Remarks

The value returned by this property depends on the current value of the JointAngularLimitHandle.yMotion 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.yRange. If it is ConfigurableJointMotion.Limited, then it will be clamped between the lower limit of JointAngularLimitHandle.yRange and the current value of JointAngularLimitHandle.yMax.