I’m trying to play around with cocos to teach myself a little about game programming and hopefully write my own simple game. The problem I’ve run in to is that I haven’t been able to get onContactBegin working. I’ve declared the method in my header and implemented the method in the cpp along with following the instructions here: http://www.cocos2d-x.org/docs/manual/framework/native/physics/physics-integration/en , on how to register the listener. I have the touch listeners working just fine so I’m a little stumped because it’s pretty much the same thing.
I feel like I’ve missed something incredibly simple. Any thoughts, suggestions fixes or general advice for future endeavors would be much appreciated.
@kiddi2202 This may be a bug, but as far as I can tell, this is a pretty major feature for custom interactions between physics bodies so feel like we must be missing something.