the player rotates to the correct direction