问题描述
我已经使用Aframe一段时间了,现在可以在其上制作小型应用程序。
I have been using Aframe for a while now making small apps on it.
我有一个Nubia N1 android 6.0版本,该版本停止了水平定向,但仍然保持垂直定向可以工作,并且现在的延迟较小。
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.
其他产生此问题的设备是:
某些手机会发生这种情况,例如:
Honor 6x(Android 7.0)
Moto m droid 6.0
It happens with some of the phones like:Honor 6x (Android version 7.0)Moto m droid 6.0
好的设备:
Oppo A57(droid 6.0.1)
一加5
Devices that are fine:Oppo A57 (droid 6.0.1)One plus 5
我一直在使用aframe版本0.7 .0 .....我稍作修改,这里是链接:
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
推荐答案
这是Chrome m65上的一个错误,其中DeviceMotion API不会返回rotationRate。它将在Chrome m66中修复。同时,您可以使用A-Frame主分支。有关此A-Frame问题的更多详细信息:
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
这篇关于某些Android设备上的Aframe陀螺仪问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!