《cocos creator 踩坑日记》 碰撞不起效

 只要在onLoad()中 开启 才有效,在onEnable()或者start()都无效 要触发碰撞回调函数还需要把这个勾上   原来的碰撞触发方法: onCollisionEnter: function (other, self) ; onCollisionStay: function (other, self) ; onCollisionExit: function (other, self)
相关文章
相关标签/搜索