Modify the XRHandModifier3D to scale appropriately with Skeleton3D.motion_scale and XRServer.world_scale
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
</brief_description>
|
||||
<description>
|
||||
This node uses hand tracking data from a [XRHandTracker] to animate the skeleton of a hand mesh.
|
||||
This node positions itself at the [constant XRHandTracker.HAND_JOINT_PALM] position and scales itself to [member XRServer.world_scale]. Adding the hand model as a child of this node will result in the model being positioned and scaled correctly for XR experiences.
|
||||
The hand tracking position-data is scaled by [member Skeleton3D.motion_scale] when applied to the skeleton, which can be used to adjust the tracked hand to match the scale of the hand model.
|
||||
</description>
|
||||
<tutorials>
|
||||
<link title="XR documentation index">$DOCS_URL/tutorials/xr/index.html</link>
|
||||
|
||||
Reference in New Issue
Block a user