private void CheckForGrip() { if (RightFootGrip && RightFootGrip.IsImpossiblegrip()) { HalfPosition(LimbsEnum.RightFoot); HalfPosition(LimbsEnum.RightKnee); ResetGrip((int)LimbsEnum.RightFoot); RightFootGrip = null; } if (RightHandGrip && RightHandGrip.IsImpossiblegrip()) { HalfPosition(LimbsEnum.RightHand); HalfPosition(LimbsEnum.RightElbow); ResetGrip((int)LimbsEnum.RightHand); RightHandGrip = null; } if (LeftFootGrip && LeftFootGrip.IsImpossiblegrip()) { HalfPosition(LimbsEnum.LeftFoot); HalfPosition(LimbsEnum.LeftKnee); ResetGrip((int)LimbsEnum.LeftFoot); LeftFootGrip = null; } if (LeftHandGrip && LeftHandGrip.IsImpossiblegrip()) { HalfPosition(LimbsEnum.LeftHand); HalfPosition(LimbsEnum.LeftElbow); ResetGrip((int)LimbsEnum.LeftHand); LeftHandGrip = null; } if (!HasGrip()) { calculateTurn = false; Die(); } }