1. We're looking for feedback on Unity Starter Kits! Let us know what you’d like.
    Dismiss Notice
  2. Unity 2017.2 beta is now available for download.
    Dismiss Notice
  3. Unity 2017.1 is now released.
    Dismiss Notice
  4. Introducing the Unity Essentials Packs! Find out more.
    Dismiss Notice
  5. Check out all the fixes for 5.6 on the patch releases page.
    Dismiss Notice
  6. Help us improve the editor usability and artist workflows. Join our discussion to provide your feedback.
    Dismiss Notice

touch.deltaPosition not working?

Discussion in 'Android' started by Juan, Feb 7, 2011.

  1. Juan

    Juan

    Joined:
    May 21, 2009
    Posts:
    142
    Eeer...forget about that, my bad, i used
    Code (csharp):
    1. val_x = Input.GetTouch(0).position.x;
    instead of
    Code (csharp):

     
    Last edited: Feb 7, 2011
  2. Dreamora

    Dreamora

    Joined:
    Apr 5, 2008
    Posts:
    26,596
    likely a workaround to make multitouch usable on android at all.
    Until very recently (not sure how recently, but HTC Desire for example suffers from anomalies on touch 2+ too) the multitouch implementation on android devices was limited and/or broken, leading to problems on touch 2+ handling that end with jumping around stuff and alike.

    As such its not really safe to track too much on this end, EA and others omited multitouch whereever possible (sims 3 has multitouch on every platform aside android for example) to support more than Q4 2010 released android devices.