Hello. I have a problem in my game and I think it’s from the physics engine. So, basically I have some sprites on the screen and after I add physics bodies to them they disappear sometimes from the screen when I run the project. Can anyone help me please?
When you use the built in physics wrapper in Cocos2d-x, such as using the cocos2d::PhysicsBody, cocos2d::PhysicsWorld, etc., then you are using code that provides a wrapper only around Chipmunk.
The bug is in the Cocos2d-x code that wraps the Chipmunk physics engine, not with Chipmunk.
So if you use Chipmunk or Box2D directly, then you will not experience the “teleport” issue.