Can't override velocity_func when compiling cocos2d-x JavaScript in IOS?

| | August 4, 2015

I am attempting to overwrite the Chipmunk’s Body.prototype.velocity_func. It works perfectly when viewing my game via HTML5 Canvas, but when I compile my Xcode project, the velocity_func is never called, and it seems to reverts to the default velocity_func logic.

Leave a Reply