In my cocos2d Box2d game I have a dynamic body created by polygon shape with 15 edges, when i try to create a prismatic joint , for body movement restriction on x axis it does not work(i can drag it in whole screen) but when i change complex shape to simple rectangle shape it works fine, and after that when i create complex shape and inside it rectangle shape another dynamic (not all bodies ) bodies collides only with rectangle what i do wrong? is there problem with body mass center or something else?
Prismatic Joint problem
General DiscussionMake sure the density is non-zero.
Original thread: https://box2d.org/forum/viewtopic.php?t=8148