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

iPad Pro Pencil does not report pressure value

Discussion in 'iOS and tvOS' started by ZannaU, Mar 28, 2016.

  1. ZannaU

    ZannaU

    Joined:
    Mar 24, 2013
    Posts:
    17
    Hi,

    I'm currently working with Unity 5.3.3f1.

    I'm adding some features using 3D Touch and iPad Pro Pencil.

    When using 3D Touch devices such as iPhone 6S the Touch.pressure value works fine.

    The problem arise when using the Pencil on iPad Pro. The angle data works (Touch.altitudeAngle) but both Touch.pressure and Touch. maximumPossiblePressure return 1.

    I know iPad Pro does not have a 3D Touch screen but the Pencil definitely support pressure and the feature is used often in drawing applications.

    Looking at the Touch API I couldn't see any other property that might hold that information.

    Is this a bug? or maybe a feature that is still a work in progress?

    Thanks for the help
     
  2. inkredibl

    inkredibl

    Unity Technologies

    Joined:
    Nov 11, 2015
    Posts:
    21
    Hey there,

    Touch pressure was added to Unity for the 3D Touch devices so it only supported those at that point. When the Apple Pencil support was added we have overlooked the fact that our code checked for 3D Touch in order to see if pressure is available. Just late last week we actually noticed this and started working on a fix. So yes, at this point touch pressure for the Pencil is broken and we're working on getting a fix out soon. Thanks for the tip!
     
  3. ZannaU

    ZannaU

    Joined:
    Mar 24, 2013
    Posts:
    17
    Hi,

    Thanks for the update.
    Make sense, I look forward for the fix on this issue.
    Do you have a rough ETA?
     
  4. povilas

    povilas

    Unity Technologies

    Joined:
    Jan 28, 2014
    Posts:
    427
    This has already been fixed, the fix should land in the following two weeks or so.
     
  5. Jaynesh

    Jaynesh

    Joined:
    Feb 28, 2015
    Posts:
    36
    This issue still hasnt been fixed.
     
    Prodigga likes this.
  6. inkredibl

    inkredibl

    Unity Technologies

    Joined:
    Nov 11, 2015
    Posts:
    21
    Hi @Jaynesh

    Could you make a bug report about that? Otherwise you leave me guessing which Unity version you're using and how you're coming up with the conclusion that it doesn't work. Thanks!
     
  7. Jaynesh

    Jaynesh

    Joined:
    Feb 28, 2015
    Posts:
    36
    I'm using unity 2017.2.0 and i've looked through all the changelogs and there is no mention of this being fixed.
     
  8. Lars-Steenhoff

    Lars-Steenhoff

    Joined:
    Aug 7, 2007
    Posts:
    3,449
    @inkredibl Different issue but related:
    Please also add support for Wacom pens with pressure and tilt, not only on Mac but also on windows.
    because right now pressure works on the Mac OS because of the touch pressure support but not on windows.