Version: 2017.3 (switch to 2017.4)
LanguageEnglish
  • C#
  • JS

Script language

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

HumanDescription

struct in UnityEngine

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Class that holds humanoid avatar parameters to pass to the AvatarBuilder.BuildHumanAvatar function.

Properties

armStretchAmount by which the arm's length is allowed to stretch when using IK.
feetSpacingModification to the minimum distance between the feet of a humanoid model.
hasTranslationDoFTrue for any human that has a translation Degree of Freedom (DoF). It is set to false by default.
humanMapping between Mecanim bone names and bone names in the rig.
legStretchAmount by which the leg's length is allowed to stretch when using IK.
lowerArmTwistDefines how the lower arm's roll/twisting is distributed between the elbow and wrist joints.
lowerLegTwistDefines how the lower leg's roll/twisting is distributed between the knee and ankle.
skeletonList of bone Transforms to include in the model.
upperArmTwistDefines how the lower arm's roll/twisting is distributed between the shoulder and elbow joints.
upperLegTwistDefines how the upper leg's roll/twisting is distributed between the thigh and knee joints.

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