Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question IDragHandler position not correct when multi touch

Discussion in 'Input System' started by helloroy, Feb 8, 2022.

  1. helloroy

    helloroy

    Joined:
    Jun 23, 2016
    Posts:
    42
    Hi, please check the video:


    Red side just have a Image to block the drag event, and green side have a script to handle drag event.
    As you can see, drag on green side only is good, but touch red side at the same time, the drag event data will be changed as well.

    unitypackage file attached for anybody test

    Thanks a lot!
     

    Attached Files:

    Last edited: Feb 14, 2022
  2. Fenrisul

    Fenrisul

    Joined:
    Jan 2, 2010
    Posts:
    617
    Ooo, this looks like it may be a hardware thing! :D My favorite kind of quirk.

    What device?
     
  3. helloroy

    helloroy

    Joined:
    Jun 23, 2016
    Posts:
    42
    Hi Fenrisul, I tested it on HTC U11 and Samsung A52, both have the same problem.
     
  4. helloroy

    helloroy

    Joined:
    Jun 23, 2016
    Posts:
    42

    Attached Files: