Hey mates, I’m working on a simple joystick game. For this I need the maximum value of vector that returns the joystick, in 8 ways. (Top, down, left, right, diagonal top-right, diagonal top-left, diagonal down-right, diagonal down-left). But every time I move the joystick it gets all values that are in its way. So, how can I do to only get the maximum value of each axis when I’m moving the joystick?
Thanks!