Search Unity

Oculus Quest Custom Gesture or hand pose

Discussion in 'VR' started by JD_FVTC, Jan 21, 2020.

  1. JD_FVTC

    JD_FVTC

    Joined:
    Oct 20, 2017
    Posts:
    54
    Id like to detect when a user is making a fist with their hands.

    Would that be a custom gesture or how would your detect that on the quest with no controllers and hand tracking.

    Thanks
     
    dragon376 and davtam like this.
  2. dragon376

    dragon376

    Joined:
    Mar 2, 2013
    Posts:
    9
    I have the same question. I know it could be done by training a neural network by feeding all the bones in the neural network but I was hoping there was already a solution made by oculus for generic gesture like fist, pointing, showing a number in the fingers, etc...
     
  3. dragon376

    dragon376

    Joined:
    Mar 2, 2013
    Posts:
    9
    A simple solution for a fist: you could grab the fingertips position through hand.skeleton, and check the distance between all fingers and the base of the hand... if distance between fingers and base hand is small enough you are making a fist....
    Use distSq of course so this doesn’t become too expensive.
     
    Last edited: Feb 2, 2020