private BoneIdentifier chest | Bone ID of the chest. |
private Vector3 chestToAbdomen | Chest axis pointing down to the abdomen, for this update. |
private Vector3 chestToArm | Chest axis pointing out towards this arm, for this update. |
private Vector3 chestToFront | Chest axis pointing forward, for this update. |
private BoneIdentifier clavicle | Bone ID of the clavicle. |
private float clavicleLength | Measured clavicle length. |
private Vector3 clavicleToFront | Clavicle forward direction after rotation. |
private CharacterDummyPointer dummy | Pointer to the character dummy whose rig is posed. |
private BoneIdentifier elbow | Bone ID of the elbow. |
private Vector3 elbowOriginalPosition | Elbow rest local position, restored each update before stretching. |
private BoneIdentifier forearm | Bone ID of the forearm. |
private float forearmLength | Measured forearm length. |
private Vector3 forearmOriginalPosition | Forearm rest local position, restored each update before stretching. |
private HandTargetHandler ghostHand | Handler that provides the hand target transform. |
private Quaternion handRotation | Ghost hand rotation for this update. |
private BoneIdentifier head | Bone ID of the head. |
private float lastTwistAngle | Twist amount from the previous update, used to avoid flips. |
private static Logger logger | NLog logger for this class. |
private static Quaternion lookRotationComplement | Fixed rotation that maps the rig's bone axes onto Unity's look rotation. |
private float maxStretch | Largest extra length the arm may stretch to reach the hand. |
private Vector3 oldElbowPull | Smoothed elbow pull point from the previous update. |
private ArmController otherArm | Backing field for OtherArm. |
private BoneIdentifier shoulder | Bone ID of the shoulder. |
private Vector3 shoulderPosition | Shoulder world position for this update. |
private HandIndex side | Backing field for Side. |
private float sideMultiplier | -1 for the left arm, 1 for the right, used to mirror axes. |
private float upperArmLength | Measured upper arm length. |
private float upperToLowerArmStretchRatio | How stretch is split between the upper arm (elbow) and forearm. |
private BoneIdentifier wrist | Bone ID of the wrist. |
private Vector3 wristBack | Back-of-hand direction for this update. |
private Vector3 wristPosition | Ghost hand position for this update. |
private Vector3 wristThumb | Thumb direction for this update. |
private Vector3 wristToArm | Direction from the wrist back along the arm for this update. |