【发布时间】:2019-10-20 01:13:42
【问题描述】:
我试图让我的模型 gltf 在它点击到 VR 模式之前居中,但没有显示我在实体内设置位置的想法
是这样的
<div class="" style="height: 800px; width: 900px">
<a-scene embedded>
<a-assets>
<a-asset-item id="tree" src="static/models/Box/Box.gltf"></a-asset-item>
</a-assets>
<a-gltf-model src="#tree" camera position="0 1.6 0"></a-gltf-model>
<!-- <a-entity camera gltf-model="#tree" position="0 1.6 0"></a-entity> -->
</a-scene>
</div>
【问题讨论】: