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

Script language

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

HumanLimit

struct in UnityEngine

Description

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

Variables

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?
对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答