
Lv.1
梅者如西
在 【代码岛3.0】正着开车的代码 中回复
额,补充一下飞机的代码,望置顶。首先先把模型加上“飞机”的标签,然后在代码栏里输入一下代码
world.onEntityContact(({entity,other})=>{
if(entity.isPlayer===false){
if(other.isPlayer===true){
if(entity.hasTag('.飞机')){
if(other.mesh===''){
other.meshOrientation = new Box3Quaternion(0, 1, 0, 0);//调整方向
other.mesh=entity.mesh;
other.meshScale=entity.meshScale;
other.player.canFly=true;
other.player.invisible=true;
other.player.walkSpeed=2;
other.player.runSpeed=3;
}
}
}
}
});2020-05-03T09:46:17 点赞:0
在 BOX3地图招人呐!主题:霍格沃兹魔法学校 中回复
呃呃呃,链接忘发了:box3create.codemao.cn/games/bccd737d6ec213ccff29
2020-05-03T13:10:00 点赞:0
在 【代码岛3.0】正着开车的代码 中回复
现在鱼动不来了!!!你快过来看看啊,链接是box3create.codemao.cn/games/bccd737d6ec213ccff29
2020-05-03T16:48:20 点赞:0