Search Unity

Feedback Able to re-design iOS input processing?

Discussion in 'iOS and tvOS' started by ADNCG, Sep 13, 2021.

  1. ADNCG

    ADNCG

    Joined:
    Jun 9, 2014
    Posts:
    994
    Whenever a new touch occurs, the touch position returned remains the same until a certain distance has been crossed. You can reproduce this by constantly printing the delta and moving your finger very slowly at the beginning of every new touches. This is especially noticeable on large/high res devices(e.g. iphone 12 pro max), but will happen on all iOS devices.

    This is bad because the first position delta is very large compared to all subsequent deltas. For apps requiring precision, this is an inconvenience.

    My best guess is this is due to the native side performing gesture recognition and not returning an updated position until the former is done.
     
  2. kaarloew

    kaarloew

    Joined:
    Nov 1, 2018
    Posts:
    360
    Are you using Canvas for the detection?
     
  3. ADNCG

    ADNCG

    Joined:
    Jun 9, 2014
    Posts:
    994
    No, using either the input class or the new input system produces the results mentioned above.