I used this method with a recent shooter game I am working on:



Converts the axis values to an angle.