private Rigidbody attachedObject | The held rigidbody being moved. |
private Vector3 gripPointPosition | Last grip point position read in FixedUpdate. |
private bool isActive | Whether FixedUpdate moves the object. |
private bool isCollisionEnabled | If false, collisions between hand and object are ignored while active. |
private bool isLimitingArmLength | Whether the object is kept within arm's length of the shoulder. |
private Vector3 limitedPosition | Hand position after the arm-length cap. |
private Vector3 offset | Held object's position offset in this transform's local space. |
private Rigidbody rigidbody | This object's own rigidbody, whose colliders are ignored against the held object. |
private Quaternion rotationOffset | Held object's rotation relative to this transform. |
private Vector3 rotEulers | Rotation offset as Euler angles; reapplied to rotationOffset each step. |
private Transform shoulder | Shoulder transform from the arm IK, used for the reach limit. |
private Vector3 shoulderPosition | Last shoulder position read in FixedUpdate. |