void AttachObject(Rigidbody objectToAttach, FingerType holdingFinger1, FingerType holdingFinger2) { _lastForearmPosition = Parts.Forearm.transform.position; Parts.Fingers[(int)holdingFinger1].IsHoldingObject = Parts.Fingers[(int)holdingFinger2].IsHoldingObject = true; AttachedObject = objectToAttach.gameObject.AddComponent <AttachedObject>(); AttachedObject.Attach(this, DetachObject); Parts.IgnoreCollisions(objectToAttach, true); OnObjectAttached(objectToAttach); }