A class in Root.Township, the global namespace.
A FinalIK rotation limit that only caps twist around the limit's axis.
Constructors
| Member | What it is |
|---|
TwistLimit() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
1 private and internal field
| Member | What it is |
|---|
private float twistLimit | Maximum twist in degrees, 0 to 180. Backing field for TwistLimitAngle. |
Properties
| Member | What it is |
|---|
float TwistLimitAngle { get; set; } | Gets or sets the twist limit in degrees. |
Methods
| Member | What it is |
|---|
protected override Quaternion LimitRotation(Quaternion rotation) | Applies RotationLimit.LimitTwist with the axis, secondary axis and twistLimit. |