difficulty in detecting multi touch
In my game hero jumps when the player tap both fingers on the screen.
I use Input.touchCount to find whether it is a single tap or 2 finger tap.
The game works fine with this but I found out lot of players have difficulty in tapping at the same time. Even when the player do a two finger tap the game detect it as a single finger tap.
If I could increase the time unity takes to decide a tap in "Input" this might be solved. Is there a way to do this?
Or is there another workaround for this?
Thank you for your help.
Answer by GliconCraft · Jan 25, 2018 at 06:47 PM
I'm fairly new to C# and not completely familiar with all of it's limitations, but perhaps you could set up your own detection by creating a variable that updates after a certain amount of time has passed, perhaps a quarter of a second, and if another press has happened before that update has happened, it registers it as a multi-touch.
I tried that.
When I do that, it affect the responsiveness of the game. The single taps are is taking too long to register.
Your answer
![](https://koobas.hobune.stream/wayback/20220612151257im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Input Touch(Take off finger but it's recognized as if touch was pressed.) 0 Answers
Mobile touching screen is pressing mouse 0 0 Answers
Best way to detect touch on a GameObject 5 Answers
Having an issue with touch input lag on certain Android devices, any help? 1 Answer
Do touch on point where ray hits 0 Answers