How do I verify if hand is being detected or not in Hand Tracking? - Quest 2

Hey.

When using hand tracking, the Quest 2 may briefly be unable to identify hands due to certain hand positions or locations in the real world. I want to know whether or not my hand is being detected.

This way, depending on whether the quest detects my hand or not, I can trigger various events.

Because we don’t always have our hands in an area where the Oculus Quest can see them, I have a hand tracking grab system in place. If I’m grabbing something and for a brief moment my hand isn’t detected, the item drops.

Our hands cease being detected if, even for a brief moment, we turn to face the opposite way or place them too close together, behind our backs, or behind the headset, whatever.

The plan is to only attach the objects in the respective hand, when my hands are no longer being detected, so that when they are, the object is still in my hand and I can drop it normally or continue interacting with it.

Any alternative ideas for accomplishing this as smoothly as possible are also welcomed.

Many thanks for your help!

Hi Du Moura,

I moved this post from ‘International’ to ‘XR’ section.

Have you experimented with the ‘Get Tracking Confidence’ blueprint node? It returns an enumerator with either ‘High’ or ‘Low’ and If I remember correctly, it will return ‘Low’ when the hands are behind users back etc.

Let us know how it goes.

3 Likes

Hey! Thank you for your attention!

This was exactly what I was looking for, I was over-engineering like crazy!

Have a good one, ty!

1 Like

@Astrotronic Hi in my case gethandtracking always gives high even my hand behind back

1 Like