Forum Discussion
beehive_dev
5 years agoHonored Guest
How can I detect different hand gestures?
Hi,
So I'd like to detect different hand gestures. I'm using OVRHandPrefab and there is a script OVRHand on that prefab. Inside I can see thee is a reference to OVRPlugin.HandState. If I look at the hand state it's a struct:
So I'd like to detect different hand gestures. I'm using OVRHandPrefab and there is a script OVRHand on that prefab. Inside I can see thee is a reference to OVRPlugin.HandState. If I look at the hand state it's a struct:
public struct HandState
{
public HandStatus Status;
public Posef RootPose;
public Quatf[] BoneRotations;
public HandFingerPinch Pinches;
public float[] PinchStrength;
public Posef PointerPose;
public float HandScale;
public TrackingConfidence HandConfidence;
public TrackingConfidence[] FingerConfidences;
public double RequestedTimeStamp;
public double SampleTimeStamp;
}
And there I can see is a public HandFingerPitch Pinches (which I'm guessing is used then you pinch and go to menu by default), but that's just another enum.
So what should I use to detect different hand gestures (eg. make a fist or grip)?
So what should I use to detect different hand gestures (eg. make a fist or grip)?
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 2 years ago
- 3 years ago