Hi,
I have a mobile game with swipe controls but game mixes the touch if it is swipe or hit.
For example if i want to swipe but there is an object on screen coincidently game takes it as hit no matter i am sliding my finger or not.
I tried to do as 2d vectors first touch and release, after subtraction if it is bigger than 200 it is swipe if its not its hit, now swipe is okay but hit doesnt work.
Pls help
Thank you