【发布时间】:2020-04-19 07:56:08
【问题描述】:
我正在使用基于标记(Hiro 标记)的 Ar-js。 这是工作示例: https://codepen.io/taime/pen/QWjExPe
<a-scene embedded arjs>
<a-marker preset="hiro">
<a-entity look-controls position="0 -0.5 0" rotation="0 0 0" scale="1 1 1">
<a-box position="0 0 0" rotation="0 0 0" color="#4CC3D9" shadow></a-box>
</a-entity>
</a-marker>
<a-entity camera></a-entity>
</a-scene>
物体(盒子)是有角度(旋转)放置的,但它应该是水平的!
没有look-controls,它是水平的......
我在 iPhone 6S 上测试过!
iOS 13.3.1
这是错误吗?如何使用外观控件将其设置为水平? (我需要用触摸手势旋转对象,这就是我使用look-controls 的原因)
附言Hiro 标记 在这里https://raw.githubusercontent.com/AR-js-org/AR.js/master/data/images/hiro.png
【问题讨论】:
-
Github 问题在这里:github.com/AR-js-org/AR.js/issues/85
标签: augmented-reality aframe ar.js