码迷,mamicode.com
首页 >  
搜索关键字:oncontactbegin编译参数错误    ( 1个结果
Physics 碰撞检测回调方法出错或者没有效果解决方法
1.碰撞检测回调方法编译出错;auto*listener=EventListenerPhysicsContact::create();listener->onContactBegin=CC_CALLBACK_1(HelloWorld::onContactBegin,this);在3.0rc版本中回调函数的参数变为一个,不能使用原来的两个参数;boolHelloWorld::onContactBegin(PhysicsContac..
分类:其他好文   时间:2014-06-16 17:03:46    阅读次数:314
1条  
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!