aframe-dash-move-controls-component
Point at a location in an A-Frame scene and move an attached entity towards it
For A-Frame.
API
Property | Description | Default Value |
---|---|---|
Installation
Browser
Install and use by directly including the browser files:
<head>
<title>My A-Frame Scene</title>
<script src="https://aframe.io/releases/0.4.0/aframe.min.js"></script>
<script src="https://unpkg.com/aframe-dash-move-controls-component/dist/aframe-dash-move-controls-component.min.js"></script>
</head>
<body>
<a-scene>
<a-entity dash-move-controls="foo: bar"></a-entity>
</a-scene>
</body>
npm
Install via npm:
npm install aframe-dash-move-controls-component
Then require and use.
require('aframe');
require('aframe-dash-move-controls-component');