I'm dabbling in video game creation and I'm making a very basic top-down twin stick shooter. The problem is that I don't know how to get the player to turn to an angle that matches the controller's right stick. I'm trying to figure out an equation or something to convert the -100 to +100 input from each axis of the stick into a degree measurement to turn the player towards. For example, if the stick is at a coordinate of (50,50), up and right, then the player would turn to 315 degrees (0 degrees is at the 3 O-clock position in the program I'm using and moves clockwise from there). Any ideas?