An A-Frame component for copying the position and rotation of another entity"
For A-Frame.
Property | Description | Default Value |
---|---|---|
Install and use by directly including the browser files:
<head>
<title>My A-Frame Scene</title>
<script src="https://aframe.io/releases/0.5.0/aframe.min.js"></script>
<script src="https://unpkg.com/aframe-follow-component/dist/aframe-follow-component.min.js"></script>
</head>
<body>
<a-scene>
<a-entity follow="foo: bar"></a-entity>
</a-scene>
</body>
Install via npm:
npm install aframe-follow-component
Then require and use.
require('aframe');
require('aframe-follow-component');