//Teleport the player to the next island. private void _teleportPlayer() { //Temporarily disable the characterController to not conflict with the change of position (teleport). _baseMotor.DisableController(); _player.transform.position = _islandGlobalOrigins[_nextIslandIndex] + _teleportOffset; _baseMotor.EnableController(); }