Jump to content

Cannot retrieve the pinching state of my gesture through OpenXR


Recommended Posts

I am developing a PC VR application that runs on my HTC VIVE Focus 3 via Vive Business Streaming.

During the development of hand gesture recognition by OpenXR, InputDevices.GetDeviceAtXRNode(node) cannot detect my input device, and handDevice.TryGetFeatureValue(CommonUsages.grip, out float gripValue) fails to return the value of my pinch gesture.

However, handDevice.TryGetFeatureValue(CommonUsages.devicePosition, out position) is able to retrieve my hand position.

Why is this happening? Is there something I haven't configured correctly? Or is it possible that I wrote the code to retrieve the pinching state incorrectly?

In the code where I retrieve the gesture's position, handDevice = InputDevices.GetDeviceAtXRNode(handNode)

Edited by Snake Konginchrist
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...