Skip to content
This repository has been archived by the owner on Dec 6, 2018. It is now read-only.

Update to the latest version of webvr-polyfill #317

Open
davidh64 opened this issue May 14, 2018 · 3 comments
Open

Update to the latest version of webvr-polyfill #317

davidh64 opened this issue May 14, 2018 · 3 comments

Comments

@davidh64
Copy link

The latest version of webvr-polyfill seems to include fixes for multiple issues introduced by newer versions of Chrome, but webvr-polyfill v0.10.0 removed MouseKeyboardVRDisplay which provided 3DOF controls for desktop when no native displays are connected. Is anyone actively working on updating to the newer version of the polyfill? It seems that this would resolve #274, but would require a replacement for the mouse and keyboard controls on desktop that were previously provided by the polyfill.

@ademarre
Copy link

In addition to #274, this should also fix #306.

I assume the replacement for MouseKeyboardVRDisplay would also resolve #192, #246, and #289.

@davidshttintin
Copy link

how do u update to the latest version of webvr-polyfill? do u replace codes in vrview.js?

@transpirman
Copy link

it seems that by changing this unique line in embed.(min.)js, it works on newer chrome mobile as well :
if(this.isIOS||this.isFirefoxAndroid){ this.gyroscope.multiplyScalar(Math.PI/180); }
remove the if statement to keep only the "this.gyroscope.multiplyScalar(Math.PI/180); "

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants