CodePlexProject Hosting for Open Source Software
I have 2 bodies of my game hero (head and body) head is a class with b2Body , body is a class with b2Body too. How can I connect head to body? I try to use DistanceJoint but in this case head can move. I want rigidly connect b2Body to b2Body. How can I do
You should try a weld joint or a revolute joint.
If you want them to truely be stuck together without motion between them, then you should probably be using fixtures for each of your body parts and then make a single body with multiple fixtures.
Are you sure you want to delete this post? You will not be able to recover it later.
Are you sure you want to delete this thread? You will not be able to recover it later.