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 Where are the controller readouts found in the new XRT

Discussion in 'XR Interaction Toolkit and Input' started by FishStickies94, Dec 19, 2020.

  1. FishStickies94

    FishStickies94

    Joined:
    Jul 27, 2019
    Posts:
    70
    Previously in XRT you could go to commonUsages to get useful readouts from the controller such as angular velocity, acceleration etc however I can't find them in the update. Can anyone point me in their direction?
     
  2. Matt_D_work

    Matt_D_work

    Unity Technologies

    Joined:
    Nov 30, 2016
    Posts:
    202
    We're migrating to the new input system. If there's elements missing from the data available in the input system please let us know!
     
  3. FishStickies94

    FishStickies94

    Joined:
    Jul 27, 2019
    Posts:
    70
    I found way to get it to it, just a bit more converluted than before but works well enough.
     
  4. kittik

    kittik

    Joined:
    Mar 6, 2015
    Posts:
    565
    In Unity 2020.2, CommonUsages.primaryButton doesn't appear to recognise the Vive sandwich button (button above the thumbpad) for me on either hand. Everything worked in a 2019 project, before I upgraded it and moved to OpenXR. @Matt_D_work , is this known?
     
  5. FishStickies94

    FishStickies94

    Joined:
    Jul 27, 2019
    Posts:
    70
    OpenXR is meant to be used with the new Input System.
     
  6. kittik

    kittik

    Joined:
    Mar 6, 2015
    Posts:
    565
    If you are referring to my post, I am using the new Input System and OpenXR. I don't understand what you mean. All CommonUsages inputs aside from one work in my specific case.
     
  7. Matt_D_work

    Matt_D_work

    Unity Technologies

    Joined:
    Nov 30, 2016
    Posts:
    202
    nope, please raise a bug on this and we'll have a look.