Joystick + swipe question?
I'm making a game where I have a virtual joystick on the screen and I also have swipe recognition set up. I have it so that a touch doesn't get considered a swipe if that touch is touching the joystick first. It all works well individually but a few issues arise. If I touch the joystick with a finger first then I swipe the screen, the code works fine, but if I happen to touch the screen first and then touch the joystick, if I swipe up, it'll get considered a swipe, but once I lift swipe finger off, that touch gets moved to the first position in the array, so when I swipe again, it doesn't work. It works sometimes when I'm not touching the joystick at all, but it still bugs out. I'm not sure if I'm being specific or not.
Your answer
Follow this Question
Related Questions
Disabling aiming towards Joystick on first input. 0 Answers
OnScreen-Stick that moves to the position touched 0 Answers
touch.position values clearification 0 Answers
How to chanege the positionon of the cube when touching the screen? 0 Answers
How can convert keyboard controller to touchscreen(android .ios ...etc) 1 Answer