Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


max

The maximum rotation away from the initial value that this muscle can apply.
Read time 1 minuteLast updated 4 days ago

Definition

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

Remarks

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