aframe gyroscope issue on some android devices

元气小坏坏 提交于 2019-12-31 06:21:26

问题


I have been using Aframe for a while now making small apps on it.

I have a Nubia N1 android 6.0 version which stopped orienting it horizontally but for vertical still works and there is less lag now.

Other devices that are generating this issue are:

It happens with some of the phones like: Honor 6x (Android version 7.0) Moto m droid 6.0

Devices that are fine: Oppo A57 (droid 6.0.1) One plus 5

I have been using aframe version 0.7.0..... I have slightly modified it, here is the link: https://s3.amazonaws.com/my-trybucket/aframe-0.7.1.min.js


回答1:


This is a bug on Chrome m65 where the DeviceMotion API does not return rotationRate. It will be fixed in Chrome m66. In the meantime you can use A-Frame master branch. More details on this A-Frame issue: https://github.com/aframevr/aframe/issues/3458



来源:https://stackoverflow.com/questions/49333063/aframe-gyroscope-issue-on-some-android-devices

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!