BoneWithTwistLimit
A class in Root.Township, Alta.Character.
A bone and how far it may twist, set in the inspector. ShoulderTwistControllerHelper uses one, and BoneWithRotationLimit extends it.
- Listed in Players and characters
- Derived types
BoneWithRotationLimit
Constructors
| Member | What it is |
|---|---|
BoneWithTwistLimit() | Creates a BoneWithTwistLimit with default values. |
Fields
2 private and internal fields
| Member | What it is |
|---|---|
private Transform bone | Backing field for Bone. |
private float rotationTwist | Backing field for RotationTwist. |
Properties
| Member | What it is |
|---|---|
Transform Bone { get; set; } | The bone transform. |
float RotationTwist { get; set; } | Twist limit in degrees, from 0 to 180. |
Used in
Members of other types that take, return or hold a BoneWithTwistLimit: