
Lv.1
乌拉乌拉
在 box3怎么把代码复制到代码区里 中回复
world.querySelectorAll('.7').forEach((x)=>{
x.onEntityContact(({entity,other})=>{ //设置目标模型的碰撞事件.
if(!other.isPlayer){return} //防止非玩家实体参与检测.
other.mesh=entity.mesh; //设置玩家的外观.
other.meshScale=entity.meshScale;
other.player.showName=false
other.player.scale=0.35
world.say(other.player.name+'变成了纸飞机')
other.player.invisible=true; //如果模型比玩家小,就需要隐藏玩家的皮肤.
})
})
50金币duck不必
2020-11-16T21:06:57 点赞:0