Hello,
I am struggling to divide my mobile joystick to 4 areas (Up, Left, Right, Down). So basically the idea is to set player’s movement speed and animation based on position of the joystick. Received input is Forward (from -1 to 1) and Side (from -1 to 1) (number 1).
In example number 2, player should move at forward speed and play forward animation (blue dot represents the joystick’s position).
In example number 3, player should move at backwards speed and play backwards animation.
In example number 4, player should still move at backwards speed and play backwards animation and so on.
I hope you got the point.
Thank you for help