Rotating the character in the air

The correct method would depend on how you’re moving at the moment. A form of interpolation will be the backbone of the implementation, something along the lines of:

Image from Gyazo

Here, pressing 1 will add 90 degrees to the actor’s current rotation.