Reputation: 1328
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.
Upvotes: 0
Views: 103
Reputation: 8262
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.
Upvotes: 1