This is a follow-up project of the WebVR Physics project, with the following updates:
- Replaced the WebVR API with the new WebXR API, while still focusing on VR.
- Migrated the codebase to TypeScript and webpack.
It combines the Cannon.js physics library with the Ray Input library. Spatial audio is added using the Resonance Audio Web SDK.
Tested with Oculus Go headset + controller
In Chrome, enable WebVR in the chrome://flags page.
cd basic
npm install
npm start