【发布时间】:2019-04-02 17:36:10
【问题描述】:
所以,我添加了框架物理 (this one),当我在 Minecraft 演示中将静态体应用于 a-mixin 体素时,我仍然可以在盒子中移动。
我的相机设置为通用控件。
这里是我放置静态体的地方:
<a-assets>
<a-mixin id="voxel"
static-body geometry="primitive: box; height: 0.6; width:0.6;
depth: 0.6" material="id: theImage; src: Box.jpg; color:
#696969; roughness: 1; metalness: 0"
snap="offset: 0.4 0.4 0.4; snap: 0.6 0.6 0.6">
</a-mixin>
</a-assets>
【问题讨论】: