A Speech Controls component for A-Frame.
| Property | Description | Default Value |
|---|---|---|
| positionStep | Set a step which object changes the position | 1 |
Install and use by directly including the browser files:
<head>
<title>My A-Frame Scene</title>
<script src="https://aframe.io/releases/0.3.2/aframe.min.js"></script>
<script src="https://rawgit.com/Utopiah/aframe-speech-controls-component/master/dist/aframe-speech-controls-component.min.js"></script>
</head>
<body>
<a-scene>
<a-entity speech-controls="positionStep: 1;"></a-entity>
</a-scene>
</body>Install via npm:
npm install aframe-speech-controls-componentThen register and use.
require('aframe');
require('aframe-speech-controls-component');- Fork the repository
- Clone the project
- Install dev dependencies
npm install- Start development environment which fires up browser and listens changes on files you edit.
npm start