hand-controls

Note: This documentation is for the old 0.3.0 version of A-Frame. Check out the documentation for the current 1.5.0 version

The hand-controls gives tracked hands (using a prescribed model) with animated gestures. It wraps the vive-controls component, which wraps the tracked-controls component. It adds additional events, semantically named, and handles hand animations.

Example

<a-entity hand-controls="left"></a-entity>
<a-entity hand-controls="right"></a-entity>

Values

Value Description
left The entity will track the left hand controller.
right The entity will track the right hand controller.

Events

Event Name Description
gripclose Grip buttons pressed. Hand is closed.
gripopen Grip buttons released. Hand is open.
pointup Trigger button pressed. Index finger pointing up.
pointdown Trigger button released. Index finger pointing down.
thumbup Thumbpad pressed. Thumb is pointing up.
thumbdown Thumbpad released. Thumb is pointing down.

Assets