aframe-navigation
v1.0.1
Published
Highly customizable navigation system
Downloads
14
Maintainers
Readme
aframe-navigation-component
Highly Customizable Navigation System
For A-Frame.
DEMO
API
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.6.0/aframe.min.js"></script>
<script src="https://unpkg.com/aframe-navigation/dist/aframe-navigation.min.js"></script>
</head>
<body>
<a-scene>
<a-entity nav-layout="navMapUrl:URL_HERE; layoutView:LAYOUT_VIEW_NAME_HERE"></a-entity>
<a-entity laser-controls="hand: right" raycaster="objects: .interactive"></a-entity>
</a-scene>
</body>
npm
Install via npm:
npm install aframe-navigation
Then require and use.
require('aframe');
require('aframe-navigation');