I want to rotate my player while pressing vertical arrows. I use Quaternion.Euler. Everithing works fine but when I release the arrow, the rotation goes back to it´s origin position to 0. I want to set the rotation by using keybord arrows and freeze that position even when I release the arrows.
Which function instead of Euler sould I use in this case?