A tracked hand in XR.
A hand tracking system will create an instance of this object and add it to the [XRServer]. This tracking system will then obtain skeleton data, convert it to the Godot Humanoid hand skeleton and store this data on the [XRHandTracker] object. Use [XRHandModifier3D] to animate a hand mesh using hand tracking data.
$DOCS_URL/tutorials/xr/index.html
Returns the angular velocity for the given hand joint.
Returns flags about the validity of the tracking data for the given hand joint (see [enum XRHandTracker.HandJointFlags]).
Returns the linear velocity for the given hand joint.
Returns the radius of the given hand joint.
Returns the transform for the given hand joint.
Sets the angular velocity for the given hand joint.
Sets flags about the validity of the tracking data for the given hand joint.
Sets the linear velocity for the given hand joint.
Sets the radius of the given hand joint.
Sets the transform for the given hand joint.
- The source of the hand tracking data.
- If [code]true[/code], the hand tracking data is valid.
The source of hand tracking data is unknown.
The source of hand tracking data is unobstructed, meaning that an accurate method of hand tracking is used. These include optical hand tracking, data gloves, etc.
The source of hand tracking data is a controller, meaning that joint positions are inferred from controller inputs.
Represents the size of the [enum HandTrackingSource] enum.
Palm joint.
Wrist joint.
Thumb metacarpal joint.
Thumb phalanx proximal joint.
Thumb phalanx distal joint.
Thumb tip joint.
Index finger metacarpal joint.
Index finger phalanx proximal joint.
Index finger phalanx intermediate joint.
Index finger phalanx distal joint.
Index finger tip joint.
Middle finger metacarpal joint.
Middle finger phalanx proximal joint.
Middle finger phalanx intermediate joint.
Middle finger phalanx distal joint.
Middle finger tip joint.
Ring finger metacarpal joint.
Ring finger phalanx proximal joint.
Ring finger phalanx intermediate joint.
Ring finger phalanx distal joint.
Ring finger tip joint.
Pinky finger metacarpal joint.
Pinky finger phalanx proximal joint.
Pinky finger phalanx intermediate joint.
Pinky finger phalanx distal joint.
Pinky finger tip joint.
Represents the size of the [enum HandJoint] enum.
The hand joint's orientation data is valid.
The hand joint's orientation is actively tracked. May not be set if tracking has been temporarily lost.
The hand joint's position data is valid.
The hand joint's position is actively tracked. May not be set if tracking has been temporarily lost.
The hand joint's linear velocity data is valid.
The hand joint's angular velocity data is valid.