When I create two dynamic bodies in box2d(cocos2dx), they repels each other and start to move in opposite directions. Which property I have to set to avoid this.
Don't create them on top of each other. It seems like you are not using the debug draw display to see what is really happening. I strongly recommend you use it.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more