vizorvr / patches

Patches is a visual programming editor for building WebVR and WebGL experiences.
http://patches.vizor.io
MIT License
200 stars 44 forks source link

Hypersensitive accelerometer and gyro #2100

Open TheBricktop opened 5 years ago

TheBricktop commented 5 years ago

Chrome, Android 9, Samsung Galaxy S8, Webvr is very jittery, as if sensor data was multiplied ten times. Native vr acts normally.

jcsteck commented 5 years ago

Same issue here, but overall awesome work!

waskosky commented 5 years ago

This issue can be fixed by replacing the code found in browser/vendor/borismus/webvr-polyfill.js with the code found here: https://github.com/waskosky/webvr-polyfill/blob/master/build/webvr-polyfill.js

This is related to something that changed in newer versions of Chrome only. I learned about the specific issue here: https://github.com/aframevr/aframe/issues/3476

When I discovered how much work it would be to update webvr-polyfill.js entirely to the latest version, I forked version 9.41 and updated that one instead with the necessary changes.

I am hesitant to make this a pull request because I would say this is NOT the correct solution long term, since webvr-polyfill.js really needs to be updated to the latest version 100%.

jcsteck commented 5 years ago

Thank you for your reply. Any way this can be implemented in the online version of Patches? (Patches.vizor.io)

waskosky commented 5 years ago

Since it seems like they have no one checking this github page, I assume you might have to get in contact with one of the people who would have access to update the Patches site, such as maybe someone mentioned here: https://www.crunchbase.com/organization/vizor-io

It looks like their company might actually be rebranded as "Pixelface" now, and that the previous CEO left the company in November 2018 https://www.linkedin.com/in/kaarlo/

Actually this person seems to have current access https://github.com/esaruoho