ArmIKController
A class in Root.Township, Alta.Character.
Arm controller that runs the Final IK limb solver and the game's clavicle, twist, elbow and shoulder controllers in a fixed order each fixed update.
- Listed in Players and characters
- Inherits or implements
CharacterComponentController - Attributes
RequireComponent
Constructors
| Member | What it is |
|---|---|
ArmIKController() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
8 private and internal fields
| Member | What it is |
|---|---|
private ClavicleController clavicleController | Backing field for ClavicleController. |
private TwistRelaxer clavicleTwistRelaxer | Backing field for ClavicleTwistRelaxer. |
private ElbowController elbowController | Backing field for ElbowController. |
private bool isGettingControllers | Inspector-only field that draws the Get Controllers button. |
private LimbIK limbIK | Backing field for LimbIK. |
private RotationLimitWrapper rotationLimitWrapper | Wrapper that applies the wrist rotation limit. |
private ShoulderTwistController shoulderTwistController | Backing field for ShoulderTwistController. |
private TwistRelaxerController twistRelaxerController | Backing field for TwistRelaxerController. |
Properties
| Member | What it is |
|---|---|
ClavicleController ClavicleController { get; set; } | Controller that rotates the clavicle towards the targets. |
TwistRelaxer ClavicleTwistRelaxer { get; set; } | Final IK twist relaxer on the clavicle. |
ElbowController ElbowController { get; set; } | Controller that places the elbow bend goal. |
LimbIK LimbIK { get; set; } | The Final IK LimbIK solver for this arm, updated externally. |
ShoulderTwistController ShoulderTwistController { get; set; } | Controller that limits shoulder twist. |
TwistRelaxerController TwistRelaxerController { get; set; } | Controller that relaxes forearm twist. |
Events
| Member | What it is |
|---|---|
event UpdateHandler PostIKUpdate | Fired after the arm's IK and controllers have run in a fixed update. |
event UpdateHandler PostPostIKUpdate | Fired right after PostIKUpdate, for work that must run after it. |