1. Vote on the next Unite Training Day project genre here
  2. VS Code Unity debugger extension preview

touch.deltaPosition not working?

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

  1. Juan


    May 21, 2009
    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


    Apr 5, 2008
    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.