This boilerplate uses CDN scripts, and can be used as-is. It aims to demonstrate:
-
Initiate scene making all helpers visible (physics colliders, shadow camera...). Load a gltf object from file, load spherical image to use as sky, place a plane and a cube primitives.
-
link controllers using super-hands
-
Teleport using aframe-teleport-controls
-
Demonstrate custom component which turns object transparent when grabbed. Also note that the shadow camera target is linked to the box. Moving the box moves the angle of the light.
-
Demonstrate shadow camera
-
Demonstrate physics
-
Pull the repo down, and serve
src
folder from a webserver. -
Please note that the
aframe-physics-system
is broken. It has stale dependencies and is not compatible with the latestAFrame
andThree.js
.This boilerplate uses
githack
to pull out the latest build (not in CDNs), and it also pulls in deprecatedGeometry.js
which the physics module requires.
You can find the complied demo on our hackathon page.