Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

aframe-extras

Package Overview
Dependencies
Maintainers
1
Versions
133
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aframe-extras

Add-ons and examples for A-Frame VR.

  • 3.11.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
9K
decreased by-3.91%
Maintainers
1
Weekly downloads
 
Created
Source

A-Frame Extras

Build Status GitHub license

Add-ons and helpers for A-Frame VR.

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="//cdn.rawgit.com/donmccurdy/aframe-extras/v3.11.0/dist/aframe-extras.min.js"></script>

CDN builds for aframe-extras/v3.11.0:

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

A-Frame Version Compatibility

A-FrameExtras
v0.5.Xaframe-extras/v3.11.0
v0.4.X*/v3.3.0
v0.3.X*/v2.6.1
v0.2.X*/v1.17.0

Usage (NPM)

npm install --save aframe-extras
// custom-extras.js

var extras = require('aframe-extras');

// Register a single component.
AFRAME.registerComponent('checkpoint', extras.misc.checkpoint);

// Register a particular package, and its dependencies.
extras.controls.registerAll();

// Register everything.
extras.registerAll();

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

npm install -g browserify
browserify custom-extras.js -o bundle.js

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

Add-ons

src
├── controls/ (Documentation)
│   ├── checkpoint-controls.js
│   ├── gamepad-controls.js
│   ├── hmd-controls.js
│   ├── keyboard-controls.js
│   ├── mouse-controls.js
│   ├── touch-controls.js
│   └── universal-controls.js
├── loaders/ (Documentation)
│   ├── animation-mixer.js
│   ├── fbx-model.js            Experimental
│   ├── gltf-model-next.js      New
│   ├── gltf-model-legacy.js    New
│   ├── json-model.js
│   ├── object-model.js
│   └── ply-model.js
├── misc/ (Documentation)
│   ├── checkpoint.js
│   ├── cube-env-map.js         New
│   ├── grab.js
│   ├── jump-ability.js
│   ├── kinematic-body.js       Experimental
│   ├── mesh-smooth.js          New
│   ├── sphere-collider.js
│   └── toggle-velocity.js
├── pathfinding/ (Documentation)
│   ├── nav-mesh.js             New
│   └── nav-controller.js       New
├── physics/ (Moved to aframe-physics-system)
└── primitives/ (Documentation)
    ├── a-grid.js
    ├── a-hex-grid.js           New
    ├── a-ocean.js
    └── a-tube.js

Keywords

FAQs

Package last updated on 21 Aug 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc