Attention: Here be dragons

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Godot.

OpenXR 身體追蹤

OpenXR 的全身追蹤功能目前僅在少數平台上提供。隨著支援度提升,將會在本頁補充相關資訊。

HTC 追蹤器支援

其中一種行之有年的全身追蹤方案,是使用 HTC 追蹤器。這些裝置目前可透過 SteamVR 及 HTC Elite XR 頭戴裝置支援,並可經由動作對應系統進行操作。

這些追蹤器會在設定時分配特定角色。只需將 XRController3D 節點作為 XROrigin3D 子節點,並指定下列其中一個追蹤器角色:

HTC 追蹤器

/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

你現在可以將這些追蹤器作為全身虛擬角色的 IK(反向運動學)修飾器目標。