NOTE: This version of the documentation tracks unstable development happening on A-Frame’s . If you wish to try it out, grab the
unstable build. Otherwise, head to the documentation for the current 1.4.0 version
The hand-controls component provides tracked hands (using a prescribed model)
with animated gestures. hand-controls wraps the
oculus-touch-controls which in turn wrap the tracked-controls
component. By specifying just
hand-controls, we have something that
works well with both Vive and Rift. The component gives extra events and
handles hand animations and poses.
< a-entity id= "leftHand" hand-controls= "hand: left; handModelStyle: lowPoly; color: #ffcccc"> </ a-entity> < a-entity id= "rightHand" hand-controls= "hand: right; handModelStyle: lowPoly; color: #ffcccc"> </ a-entity> Properties
Color of hand material.
Associated controller. Can be
Style of the hand 3D model loaded. Can be
The hand is closed into a fist without thumb raised.
The hand is no longer closed into a fist without thumb raised.
The hand is touching or pressing the trigger only.
The hand is no longer touching or pressing the trigger only.
The hand is closed into a fist with thumb raised.
The hand is no longer closed into a fist with thumb raised.
The hand is pointing with index finger without thumb raised.
The hand is no longer pointing without thumb raised.
The hand is pointing with index finger and thumb raised.
The hand is no longer pointing with thumb raised.