Select your preferred scripting language. All code snippets will be displayed in this language.
struct in UnityEngine
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.
CloseThis class stores the rotation limits that define the muscle for a single human bone.
axisLength | Length of the bone to which the limit is applied. |
center | The default orientation of a bone when no muscle action is applied. |
max | The maximum rotation away from the initial value that this muscle can apply. |
min | The maximum negative rotation away from the initial value that this muscle can apply. |
useDefaultValues | Should this limit use the default values? |