|
Re: Deadzone(ish) Problem
If that is truly what you want, you may want to adjust your code a bit more. Try values such as 22.55 and see what you get.
If you want to output a more coarse joystick value like that, an equivalent approach with much less code is to take the angle, divide by 45, round to nearest integer, then multiply by 45. Finally, if you really can have values above 180, you can use In Range and Coerce to pin the big values back to the limits.
Greg McKaskle
|