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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Pinch touch input

Discussion in 'Input System' started by JakHussain, Apr 27, 2020.

  1. JakHussain

    JakHussain

    Joined:
    Oct 20, 2016
    Posts:
    318
    The forum search didn't have any results for "pinch" so I thought I'd start a new thread. Sure I could get the delta positions of touch 0 and 1 and figure out a zoom axis myself but it would be really nice to be able to define an action that could be invoked either from the scroll wheel or by pinching the screen.

    Is this a thing? How would I configure this in my action map?
     
    GeorgeAdamon likes this.
  2. Rene-Damm

    Rene-Damm

    Unity Technologies

    Joined:
    Sep 15, 2012
    Posts:
    1,779
    It's not yet a thing. Gesture support is very high on the feature request list to be worked on next.
     
    bdovaz likes this.
  3. GeorgeAdamon

    GeorgeAdamon

    Joined:
    May 31, 2017
    Posts:
    48
    @Rene-Damm Are there any updates on this?
     
    HamidMac, Plaximo, bdovaz and 2 others like this.
  4. HamidMac

    HamidMac

    Joined:
    Sep 18, 2019
    Posts:
    1
    Screenshot 2023-08-06 195547.png

    still no update?? I can add a binding with 2 modifiers touch 0 and touch 1 contact, then for binding I use delta, the problem is now if 2 fingers are in contact with the screen any movement will zoom but what is needed is to get if they are moving away or towards each other, any suggestions??