Simple WebXR example that shows how PlayCanvas can be integrated with AR.
Assets and game scripts are downloaded directly from a PlayCanvas project.
- Most up-to-date available version of Android that the device manufacturer provides
- Must be listed as a ARCore supported device
- Installed latest Google Play Services for AR
- Installed latest Chrome Canary
- These flags (
chrome://flags
) in Chrome Canary must be enabled:WebXR Device API
WebXR AR Module
WebXR Hit Test
- The WebXR example must be hosted using HTTPS
- Run:
npm install
- Run:
npm run build
- Copy the following files to an HTTPS server:
files
__game-scripts.js
802005.json
ammo.dcab07b.js
bundle.js
config.json
index.html
logo.png
styles.css