기술 자료

Unity Engine

Unity Engine

yMax

Returns or specifies the maximum angular motion about the y-axis.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public float yMax { 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 upper limit of JointAngularLimitHandle.yRange. If it is ConfigurableJointMotion.Limited, then it will be clamped between the upper limit of JointAngularLimitHandle.yRange and the current value of JointAngularLimitHandle.yMin.