2D Ragdoll - should it collide with itself?

Posted by Axarydax on Game Development See other posts from Game Development or by Axarydax
Published on 2011-01-10T08:19:07Z Indexed on 2011/01/10 8:59 UTC
Read the original article Hit count: 230

Filed under:

Hi, I'm working on a ragdoll fighting game as a hobby project, but I have one dilemma. I am not sure if my ragdoll should collide with itself or not, i.e. if ragdoll's body parts should collide.

2D world is somewhat different than 3D, because there are several layers of stuff implied (for example in Super Mario you jump through a platform above you while going up).

The setup I'm currently most satisfied with is when only the parts which are joined by a joint don't collide, so head doesn't collide with neck, neck with chest, chest with upper arm etc, but the head can collide with chest, arms, legs.

I've tried every different way, but I'm not content with either. Which way would recommend me to go?

© Game Development or respective owner

Related posts about 2d-physics