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.upperArmTwist

public float upperArmTwist;

Description

Defines how the upper arm's roll/twisting is distributed between the shoulder and elbow joints.

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

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

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