i am trying to make an over the top shooter game, similar to geometry wars, using the xbox controller. i have tried a few different things like:
left analog X axis > 0 then move right
and the same for up left and down, this works great, the character moves in the correct directions.
but now i tried the same thing with looking,
gamepad right analog x axis rotate 90 degrees and toward 0
90 for up, 180 for left, and 270 for down. then went to even say,
If right xaxis > 0 AND right yaxis > 0, then rotate 90 toward 45 degrees.
unfortunately, some of these work, and some do not. and i only think some work because up down left and right worked just fine, but the character sometimes starts looking at a 45 degree angle... im just wondering if theres an easier way for xbox controls? its taken 12 code bunches just to use the move and aiming and its not close to perfected.
picture of my broken coding
imgur.com/i85VDb9