react-xr
react-xr copied to clipboard
docs: Fixing the minecraft example movement
Currently the Minecraft example is broken in the desktop version. The movement does not line up with the direction that the camera is facing.
Changes
- Updated the example to properly base the movement on camera rotation when not in VR or AR.
- Properly linked the
PointerLockControlsto the camera