void RespawnAtLastCheckpoint() { playerEffects.OnDie(); m_playerMotor.ResetVelocity(); m_playerMotor.TeleportToPosition(checkpointManager.GetLastCheckpointPosition()); rotationController.SetEulerRotation(checkpointManager.GetLastCheckpointRotation()); }