Skip to content

benjaminleonard/aframe-extras

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

615 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

A-Frame Extras

Latest NPM release GitHub license Build Status

Add-ons and helpers for A-Frame VR.

Includes components for controls, model loaders, pathfinding, and more:

src
β”œβ”€β”€ controls/ (Documentation)
β”‚Β Β  β”œβ”€β”€ movement-controls.js    New
β”‚Β Β  β”œβ”€β”€ checkpoint-controls.js
β”‚Β Β  β”œβ”€β”€ gamepad-controls.js
β”‚Β Β  β”œβ”€β”€ keyboard-controls.js
β”‚Β Β  β”œβ”€β”€ mouse-controls.js
β”‚Β Β  β”œβ”€β”€ touch-controls.js
β”‚Β Β  └── trackpad-controls.js    New
β”œβ”€β”€ loaders/ (Documentation)
β”‚Β Β  β”œβ”€β”€ animation-mixer.js
β”‚Β Β  β”œβ”€β”€ collada-model-legacy.js New
β”‚Β Β  β”œβ”€β”€ fbx-model.js
β”‚Β Β  β”œβ”€β”€ gltf-model-legacy.js
β”‚Β Β  └── object-model.js
β”œβ”€β”€ misc/ (Documentation)
β”‚Β Β  β”œβ”€β”€ checkpoint.js
β”‚Β Β  β”œβ”€β”€ cube-env-map.js
β”‚Β Β  β”œβ”€β”€ grab.js
β”‚Β Β  β”œβ”€β”€ jump-ability.js
β”‚Β Β  β”œβ”€β”€ kinematic-body.js       Deprecated
β”‚Β Β  β”œβ”€β”€ mesh-smooth.js
β”‚Β Β  β”œβ”€β”€ normal-material.js      New
β”‚Β Β  └── sphere-collider.js
β”œβ”€β”€ pathfinding/ (Documentation)
β”‚Β Β  β”œβ”€β”€ nav-mesh.js             New
β”‚Β Β  └── nav-agent.js            New
└── primitives/ (Documentation)
 Β Β  β”œβ”€β”€ a-grid.js
 Β Β  β”œβ”€β”€ a-hex-grid.js
 Β Β  β”œβ”€β”€ a-ocean.js
 Β Β  └── a-tube.js

Usage (Scripts)

In the dist/ folder, download any package(s) you need. Include the scripts on your page, and all components are automatically registered for you:

<script src="https://cdn.jsdelivr.net/gh/donmccurdy/aframe-extras@v6.0.1/dist/aframe-extras.min.js"></script>

CDN builds for aframe-extras/v6.0.0:

For partial builds, use a subpackage like aframe-extras.controls.min.js. Full list of packages above.

A-Frame Version Compatibility

A-Frame Extras
v0.9.X aframe-extras/v6.0.0
v0.8.X */v5.1.0
v0.5.X */v3.13.1
v0.4.X */v3.3.0
v0.3.X */v2.6.1
v0.2.X */v1.17.0

NOTE: Several components and examples also rely on aframe-physics-system.

Usage (NPM)

npm install --save aframe-extras
// index.js
require('aframe-extras');

Once installed, you'll need to compile your JavaScript using something like Browserify or Webpack. Example:

npm install -g browserify
browserify index.js -o bundle.js

bundle.js may then be included in your page. See here for a better introduction to Browserify.

About

Add-ons and helpers for A-Frame VR.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • JavaScript 100.0%