Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
kshaja's avatar
kshaja
Explorer
4 years ago

Passthrough and hand tracking, hand size

Hi,

I managed to use both hand tracking and passthrough with new Unity2021.2.5, OculusXR plugin 1.11.0, XR Plugin Management 4.2.0.  🙂

But the hands are smaller then my own hands. OVR Custom Skelteon script with update root scale seams to do nothing.

Is there a way to have the hands the same size, like we have in quest home environment.

8 Replies

  • Hi kshaja!

    I'm trying to do basically the same - but even after lots of web and forum research, I can't quite get to the point to get the hand tracking up and running - Can you poke me in the right direction by any chance?

    I'm trying to use OpenXR as an Plug-in Provider to reuse everything on other devices without further bridges, too. Is that my downfall? Given you use the OVRCustomSkeleton, I'm assuming you're using "Oculus" there instead?

     

    For scaling your hands, the OVRHand could potentially provide you with the value you're searching for?

    public struct HandState
    {
    (...)
    public float HandScale;
    (...)
    }

    It'll only scale to a certain extend, and I remember it being somewhat limited for users with larger hands to never really reaching their true hand size. (This might be outdated though.)

     

    Cheers!

    • kshaja's avatar
      kshaja
      Explorer

      Hi, thanks for advice, I will try it.

      About my settings, yes I am using  Oculus as plugin provider.

      Before I could not have passthrough and hands together. Hands were working in Oculus, and passthrough in OpenXR.
      I tried it now with OpenXR and no hands no passthrough in the same app.

      • Relykaa's avatar
        Relykaa
        Explorer

        Urgs, thanks for checking! We'll see when these OpenXR presets really mature. Exciting, however, that it's backed by meta at any rate.

  • Hi, for me is the same. I have latest unity 2020, v35 on quest 2, OculusXR plugin 1.11.0, XR Plugin Management 4.2.0. 

    Passtrough working (not on unity play mode, only with apk ("security restrictions?"))

    Handtracking not. Under XR Origin i pùt OVR Hand prefabs and makes my hands not visible, but Oculus Home widget can be called with fingers.

    I will update to "com.unity.xr.oculus": "2.0.0-preview.1" and latest unity 2021 to see if something changes

  • I found the solution. I was using still v34. I re-download v35 and used ovrcustomhandsprefabs under xr origin. Root pose to yes and now all is working correctly.

  • Did you find any solution for the hand scaling not working ?