1. Before updating to Windows 10 you may need to return your Pro license. More information here

touch.deltaPosition not working?

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

  1. Juan

    Juan

    Joined:
    May 21, 2009
    Messages:
    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
    Messages:
    26,589
    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.