transform.position = endPos; isVaulting = false;