Skip to content

superjose/aframe-navigation

 
 

Repository files navigation

aframe-navigation-component

Version License

Highly Customizable Navigation System

For A-Frame.

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

About

Highly Customizable Navigation System for Aframe

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 91.4%
  • HTML 8.6%