This is a work-in-progress. I'm controlling the black dot. The large circle is the stick, the small one is the deadzone. The red dot shows the position of the analog stick. When it is outside the circle, that is from my cheap controller -.-
X^2 + Y^2 = 1 at the edge, if the joystick is perfectly calibrated...meaning that if the joystick is perfect, when it is at the edge it will always be the same distance from center...but it goes further than the edge when you try to go diagonally. The pythagorean theorem should work in theory, but in practice, with a GameStop brand controller...not so much. It is not a problem with my program.
Link to this comment:
All Comments (0)