private void Detach() { if (ropeController != null) { lastRopeController = ropeController; ropeController.DetachRope(); ropeController = null; grabCooldown = -0.25f; } currentRopeNode = null; }