猫史档案馆


求助 如何让模型从地图某处天上掉落代码

用户:快乐的皮卡丘A快乐的皮卡丘A查看:1 回复:1 评论:1 创建时间:2022-04-01T07:44:23


imgsrc="https://static.codemao.cn/emoji/codemao/%E7%BC%96%E7%A8%8B%E7%8C%AB_%E6%90%93%E5%A4%B4.gif"alt="emotion_编程猫_搓头"


回复

上一页1 页 / 共 1下一页
BOTPLAYBOTPLAY

const ball = world.createEntity({
            mesh: 'mesh/核弹.vb',
            collides: true,
            fixed: false,
            gravity: true,
            meshScale: [1/16, 1/16, 1/16],
            position: [Math.floor(Math.random() * (1 - 255) + 255), 60, Math.floor(Math.random() * (1 - 255) + 255)],
        })

点赞0


评论