文档

Unity Engine

Unity Engine

min

The maximum negative rotation away from the initial value that this muscle can apply.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AnimationModule
public Vector3 min { get; set; }

Remarks

The HumanLimit.center property specifies the rotation of the bone when the muscle is at "rest". The min value specfies the maximum negative rotation in degrees away from the rest value that the muscle can apply. The HumanLimit.max value specifies a similar limit but in the positive direction of rotation.
The allowed range for the minimum is -180..0 degrees.
Additional Resources: HumanLimit.useDefaultValues.