用户:
治愈绾兮查看:399 回复:5 评论:13 创建时间:2021-03-05T17:09:25
world.onPress(async ({ entity, button, raycast: {
voxelIndex, normal, hitPosition, distance } }) => {
if (button == "action1") {
let v = voxelIndex.add(normal);
entity.position.set(v.x, v.y, v.z)
}
});
见上:
你这再创作也不标明一下原作者,好意思吗
点赞0
评论
《在创作》
啊这
这说白了……
不就是抄了一下API里的然后加了个entity.position.set么
话说我把你的未来战争改了好多()
别人不玩是因为有点枯燥()玩法太单一了()
不就借用了你的法向量吗
好家伙,借用……
你就改了个entity.position.set吧……
额()