A basic A-Frame demo with physics and Vive controller support.
HTML
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is even with bryik:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
.gitignore
LICENSE
README.md
index.html
package.json

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.