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!
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'>
To serve the site from a simple Node development server:
npm start
Then launch the site from your favourite browser:
If you wish to serve the site from a different port:
PORT=8000 npm start
This program is free software and is distributed under an MIT License.