Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
1
Question by ValLeerKaa · Jan 27, 2017 at 07:18 AM · androidtouchdelay

Android Touch delta delay

Hello. There seems to be a delta delay between first tap and finger move on some devices. In a game terms it means you'll have some lags when trying to precise contorl over an object. I've got a problem on the Philips Android 5.1, then I've done a simple graphical test which can drow spheres upon finger move on a plane. I've implemented two algos: first is just a raycast to current hit.point and the second is separated for TouchPhase.Began and TouchPhase.Moved. alt text

It's illustrate a slow finger move over a touchscreen. Both algos shows delay i've mentioned. BUT my colleague's phone (HTC running Android 6) haven't this problem! I do not have screenshot but believe me there are no spaces between first tap and finger move. So do we have a solution for all devices (at least modern devices running an actual OS?)

android-51-touchscreen.png (9.8 kB)
Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image hexagonius · Jan 28, 2017 at 02:04 PM 0
Share

I don't understand what you mean. Do you mean the resulting distance between the last sphere of the chain and the single one to the left? Or do you mean the tiny tiny offsets between the spheres?

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by ValLeerKaa · Jan 29, 2017 at 07:42 PM

Finger moving from left to right. Any detected coordinate on the Input.Touch position (or Input.MousePosition, I did try this too) insantiates a sphere. There are no reported coordinates between first finger connection to surface and 1-2 mm later, unitl system didn't realize it's a continuous move. Some devices doesn't have this delay phase. Anyway, I believe U haven't an answer if U never seen such situation and even didn't understand a question... Anyone else? :)

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Arokip · Mar 22, 2017 at 07:15 AM

Hi, I have same problem. I implemented two finger pinch zoom in my application, but there is a lag at the beggining of a movement of each finger. It is really annoying, but I didn't find any solution.

Probably, there is no solution for that. It is system feature that the second event is detected with delay. You have to move little more to enforce second touch event.

I took a screenshot with pointer location enabled in developers mode. You can see there a gap between first and second detection (blue line between two red dots). That happens every time in every app (I can see it with pointer location), so you cannot do anything with that.

My device: Xiaomi Redmi Note 3, Android 5.0.2

If there is any solution, I really want to know.

alt text


screenshot-2017-03-21-22-22-52-czarokipmorphoview.png (41.7 kB)
Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

156 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Having an issue with touch input lag on certain Android devices, any help? 1 Answer

Create an array of touches in Android? 0 Answers

Why are my tilt controls are replaced by touch? 1 Answer

Problem with simple Character movement on Android (Touch/GetMouseButtonDown) 1 Answer

destroy gameObject on touch 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges