Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


upperLegTwist

Defines how the upper leg's roll/twisting is distributed between the thigh and knee joints.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AnimationModule
public float upperLegTwist { get; set; }

Remarks

When the upper leg needs to twist or roll based on IK, upperLegTwist (a weighted range of 0..1) determines how much rotation is applied to the thigh and knee. When upperLegTwist is set to 0, the twist applies entirely to the thigh. When set to 1, the twist applies entirely to the knee. The default value of 0.5 evenly distributes the twist between both the thigh and the knee.