Skip to content
A basic A-Frame demo with physics and Vive controller support.
Branch: master
Clone or download
bryik Various improvements
Use minified aframe and aframe-extras, update readme, get rid of unused
D3.
Latest commit b6891bf Aug 6, 2016
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib Various improvements Aug 5, 2016
.gitignore initial commit Aug 5, 2016
LICENSE initial commit Aug 5, 2016
README.md Various improvements Aug 5, 2016
index.html Various improvements Aug 5, 2016
package.json initial commit Aug 5, 2016

README.md

A-Frame Ball Throw

Playable with HTC Vive.

This repository contains a small demonstration of A-Frame with vive controllers and physics powered by A-Frame Extras. Grab a ball and chuck it at the stack of boxes!

Expansion and Experimentation

Try forking this component and messing around with it. For instance,

Change the force of gravity from 1.6 m/s^2 (similar to the Moon), to 9.8 m/s^2 (similar to the Earth).

    <a-scene physics='gravity: -9.8' antialias='true'>

Local Development

To serve the site from a simple Node development server:

npm start

Then launch the site from your favourite browser:

http://localhost:3000/

If you wish to serve the site from a different port:

PORT=8000 npm start

License

This program is free software and is distributed under an MIT License.

You can’t perform that action at this time.