Hi!
I've got a little problem.. In a game I'm making (flash) there will be characters that die, and when they die their bodies will become a box2d ragdoll.
And in the ragdoll example at the box2dflash page, the joints are note really acting like I would want them to.
The problem I'm facing is that the arms should not collide with the body, because the arms are in front of the body at all time. And the arm is not anything else than a small circle that represents the hand. The arm/hand can collide with anything else than the body of the character it's attached to.
Anyone got an idea?
to sum it up in some questions:
- can I make the bodies collide with everything but one other body?
- can I make joints that works somewhat like springs?
Cheers,
Artheus
I've got a little problem.. In a game I'm making (flash) there will be characters that die, and when they die their bodies will become a box2d ragdoll.
And in the ragdoll example at the box2dflash page, the joints are note really acting like I would want them to.
The problem I'm facing is that the arms should not collide with the body, because the arms are in front of the body at all time. And the arm is not anything else than a small circle that represents the hand. The arm/hand can collide with anything else than the body of the character it's attached to.
Anyone got an idea?
to sum it up in some questions:
- can I make the bodies collide with everything but one other body?
- can I make joints that works somewhat like springs?
Cheers,
Artheus