Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

HumanDescription.lowerLegTwist

public float lowerLegTwist;

Description

Defines how the lower leg's roll/twisting is distributed between the knee and ankle.

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

See Also: HumanDescription.upperArmTwist, HumanDescription.lowerArmTwist, HumanDescription.upperLegTwist.

Did you find this page useful? Please give it a rating: