cocos creator1.9.3 碰撞检测问题。

在代码中添加碰撞boxcollider(简单的两个碰撞) ,在浏览器中可以生效,但是用微信小程序跑起来的在碰撞时,却报错!


报错代码:
VM139:1 gameThirdScriptError
this.testFunc is not a function
TypeError: this.testFunc is not a function
at Contact.61.Contact.test (http://127.0.0.1:25557/game/cocos2d-js.94891.js:11868:70)
at Contact.61.Contact.updateState (http://127.0.0.1:25557/game/cocos2d-js.94891.js:11874:25)
at CCClass.update (http://127.0.0.1:25557/game/cocos2d-js.94891.js:11604:43)
at TheClass.update (http://127.0.0.1:25557/game/cocos2d-js.94891.js:9376:85)
at TheClass.mainLoop (http://127.0.0.1:25557/game/cocos2d-js.94891.js:7013:29)
at callback (http://127.0.0.1:25557/game/cocos2d-js.94891.js:7904:22)

我是一个新手

问题已解决,这个论坛光鸡儿看没有给解决方案,有没有交流技术的群呀!

1赞

谢谢,我也遇到了,裁剪引擎导致的,这种真不好定位