Closed redisotschek closed 1 year ago
Hello redisotschek!
If I understand correctly, this behavior is not related to this project, as a real joystick would present the same problem (you can't move the joystick in a perfect single direction).
The issue should be solved afterwards, after you take the value from the input action.
I'm reopening this issue, after another user opened #45 for the same problem, because I will commit a fix soon.
In short, I will use the value from InputMap.action_get_deadzone()
instead of 0.
Fixed with #46
If user wants to go straight sideways or up/down the joystick still works only in diagonal, because this check
returns true even for the smallest values and it's impossible to hit straight on 0
How about increasing value in check to 0.1 / -0.1?
This works perfectly