1
General / Rotation According To Joystick Direction
« on: June 23, 2013, 10:51:14 am »
I am referring to SFML2 and I was wondering if It were possible (if so how) to make it where the sprites rotation is changed based on joystick direction (for example if I were to move the left stick somewhere between up and right, it would match that angle) or something kinda like it where is detects where the joystick direction is and sets it rotation here like if my stick was between down and left it would be 45 degrees.