webxr-physics
webxr-physics copied to clipboard
Adds physics to WebXR
WebXR Physics
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 uses the Cannon.js physics library. Spatial audio is added using the Resonance Audio Web SDK.
Tested with Oculus Quest headset + 2 controllers
Demo
https://www.beemsoft.nl/vr/
Usage
cd experiments
npm install
npm start