Hand Tracking

Hand Tracking refers to the capability of detecting and tracking a user’s hand movements in a 3D space within an augmented/mixed reality or virtual reality environment. This feature allows to create more immersive and interactive experiences by enabling users to control or interact with virtual objects using their hands. Hand tracking can be implemented using different sensors and hardware, such as cameras, depth sensors, and specialized devices.


In Babylon.js, hand support is enabled per default, if supported, when using the default experience helper. This will enable basic hand support - 25 hidden spheres will be created for each hand, and each hand will have the default hand mesh loaded and enabled.





This list of joints defines the following skeleton joints and their order:


SKELETON JOINTSKELETON JOINT NAMEINDEX
Wristwrist0
Thumbthumb-metacarpal1
thumb-phalanx-proximal2
thumb-phalanx-distal3
thumb-tip4
Index fingerindex-finger-metacarpal5
index-finger-phalanx-proximal6
index-finger-phalanx-intermediate7
index-finger-phalanx-distal8
index-finger-tip9
Middle fingermiddle-finger-metacarpal10
middle-finger-phalanx-proximal11
middle-finger-phalanx-intermediate12
middle-finger-phalanx-distal13
middle-finger-tip14
Ring fingerring-finger-metacarpal15
ring-finger-phalanx-proximal16
ring-finger-phalanx-intermediate17
ring-finger-phalanx-distal18
ring-finger-tip19
Little fingerpinky-finger-metacarpal20
pinky-finger-phalanx-proximal21
pinky-finger-phalanx-intermediate22
pinky-finger-phalanx-distal23
pinky-finger-tip24

Learn More

For advanced hand tracking features, please refer to Babylon.js documentation: https://doc.babylonjs.com/features/featuresDeepDive/webXR/WebXRSelectedFeatures/WebXRHandTracking/.