Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite OpenXR hand tracking to reflect new architecture #9499

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.