用户:
0幻影星辰0查看:264 回复:1 评论:2 创建时间:2021-11-06T09:35:11
求一求 谁能告诉我啊 谢谢
难起的名字吉吉之前发过教程
点赞0
评论
我都打过代码了,但不对,你看看,哪出问题了 const pad = world.querySelector('弹射板') pad.onEntityContact(({ other,exis}) => { if(axis.y === -1( { other.velocity.y = 2 ) })
const pad = world.querySelector('#弹射板') pad.onEntityContact(({ other,exis}) => { if(axis.y === -1( { other.velocity.y = 2 ) })