godotengine / godot-demo-projects

Demonstration and Template Projects
https://godotengine.org
MIT License
5.47k stars 1.53k forks source link

OpenXR all hand tracking and controller features #999

Open goatchurchprime opened 7 months ago

goatchurchprime commented 7 months ago

This demo illustrates all the available and working inputs from the OpenXR interface in raw and unfiltered form. This helps to tell which features are actually supported on each VR headset.

When hand-tracking is working there are 50 transforms corresponding to the joint positions and rotations for both hands as well as flags for tracking and validity. Each joint has a radius as well as linear and rotational velocity (this is not supported on some headsets). This demo also calculates and states the length of each finger as measured between these joints.

When controllers are in use there are only pose/transforms available (aim and grip), as well as 12 buttons, 10 touch sensors 4 linear values, and two XY thumb operated joysticks.

There are further features for interrogating the play area which will be implemented in version4.3

image