Touch joystick works left and down only
My touch joystick implementation only moves the character left and down. It works well on PC but on mobile this problem happens. Any idea why this happens? Has anyone faced this problem in mobile joystick?
Answer by meat5000 · Jan 26, 2018 at 01:01 PM
You are probably misreading the Screen Axes.
https://stackoverflow.com/questions/11483345/how-do-android-screen-coordinates-work
Also, check your origins.
Thanks for the comment @meat5000 .I'll look into it. I checked the device resolution (1600*2560) and set the resolution in Unity Game Window. The same behavior happens to the joystick (only left and down). I think the problem is with screen resolution. I'm looking for more solutions on that too. To make the joystick behavior resolution independent.
Your answer
Follow this Question
Related Questions
Joystick Movement and Shooting 0 Answers
Player i spining when moving 0 Answers
Disabling aiming towards Joystick on first input. 0 Answers
On touch in a rectangle 0 Answers
To use touch & raycasting to *drag and drop* a game object... 1 Answer