Version: 2017.4
LanguageEnglish
  • C#
  • JS

Script language

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

HumanLimit

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

This class stores the rotation limits that define the muscle for a single human bone.

Properties

axisLengthLength of the bone to which the limit is applied.
centerThe default orientation of a bone when no muscle action is applied.
maxThe maximum rotation away from the initial value that this muscle can apply.
minThe maximum negative rotation away from the initial value that this muscle can apply.
useDefaultValuesShould this limit use the default values?