aframe-navigation

1.0.1 • Public • Published

aframe-navigation-component

Version License

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');

Package Sidebar

Install

npm i aframe-navigation

Weekly Downloads

4

Version

1.0.1

License

MIT

Last publish

Collaborators

  • lance13c