Skip to content

Commit

Permalink
Rewrite OpenXR hand tracking to reflect new architecture
Browse files Browse the repository at this point in the history
  • Loading branch information
BastiaanOlij committed Jun 19, 2024
1 parent 8266888 commit 110220b
Show file tree
Hide file tree
Showing 11 changed files with 375 additions and 182 deletions.
Binary file not shown.
Binary file not shown.
Binary file removed tutorials/xr/img/openxr_hand_skeleton.webp
Binary file not shown.
Binary file added tutorials/xr/img/openxr_hand_tracking_nodes.webp
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified tutorials/xr/img/xr_enable_handtracking.webp
Binary file not shown.
1 change: 1 addition & 0 deletions tutorials/xr/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ Advanced topics
xr_room_scale
openxr_composition_layers
openxr_hand_tracking
openxr_body_tracking

Godot XR Tools
--------------
Expand Down
38 changes: 38 additions & 0 deletions tutorials/xr/openxr_body_tracking.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
.. _doc_openxr_body_tracking:

OpenXR body tracking
====================

Support for full body tracking in OpenXR is only just becoming available for a select few platforms.
As support solidifies information will be added to this page.

HTC Tracker support
-------------------

An option that has been available for some time is doing full body tracking using HTC trackers.
These are currently supported through SteamVR and on HTC Elite XR headsets.
They are exposed through the action map system.

These trackers are identified by their roles which are assigned to them when configured.
Simply add :ref:`XRController3D <class_xrcontroller3d>` nodes as children to
the :ref:`XROrigin3D <class_xrorigin3d>` node and assign one of the following trackers:

.. list-table:: HTC trackers
:widths: 100
:header-rows: 0

* - /user/vive_tracker_htcx/role/handheld_object
* - /user/vive_tracker_htcx/role/left_foot
* - /user/vive_tracker_htcx/role/right_foot
* - /user/vive_tracker_htcx/role/left_shoulder
* - /user/vive_tracker_htcx/role/right_shoulder
* - /user/vive_tracker_htcx/role/left_elbow
* - /user/vive_tracker_htcx/role/right_elbow
* - /user/vive_tracker_htcx/role/left_knee
* - /user/vive_tracker_htcx/role/right_knee
* - /user/vive_tracker_htcx/role/waist
* - /user/vive_tracker_htcx/role/chest
* - /user/vive_tracker_htcx/role/camera
* - /user/vive_tracker_htcx/role/keyboard

You can now use these as targets for IK modifiers on a full body avatar.
518 changes: 336 additions & 182 deletions tutorials/xr/openxr_hand_tracking.rst

Large diffs are not rendered by default.

0 comments on commit 110220b

Please sign in to comment.