猫史档案馆


《 飞 鸡》

用户:森口_th森口_th查看:0 回复:1 评论:0 创建时间:2021-11-27T18:44:29


const mov = world.onTick(async()=>{
    for(const e of world.querySelectorAll('.chicken')){
        await move(e)
    }
})
async function move(entity){
    entity.velocity.y = 0.5 + Math.random()*0.5
    entity.velocity.x = (Math.random()-0.5)*0.5
    entity.velocity.z = (Math.random()-0.5)*0.5 
    await sleep(500)
}

谁知道怎么解决center_image


回复

上一页1 页 / 共 1下一页
lnKsans巳lnKsans巳

e

 

点赞0


评论