Problems with physics on cocos2d-x

like this?
This question sometimes happens, sometimes not. Very unstable. Maybe you can try box2d.