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.
Checking the stable version of the documentation...
OpenXR 身体跟踪
OpenXR 全身体追踪支持目前仅对少数平台可用。当支持面更广时,该页面会添加更多信息。
HTC 追踪器支持
近来,全身体追踪可用的一个选项是使用 HTC 追踪器。目前由 SteamVR 和 HTC Elite XR 头戴设备支持。通过动作映射系统暴露。
这些追踪器是通过‘角色(roles)’来识别的,而角色是在配置阶段分配给它们的。你只需要在 XRController3D 节点下添加 XROrigin3D 节点作为子级,然后为它们分配以下任意一种追踪器角色即可:
/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(反向动力学)修正的目标点,应用到全身虚拟形象上。