How to implement a segmented character?

So I want to learn about how box2d works. I want to make a tile based game. Inspired really by N. http://metanetsoftware.com

Image
What do I have to do to make a character like N? Do you use one body with multiple shapes for the apendages? Can you move these fixtures after initializing? Or do you have to make a body for each movable part? What type of body do you use? Do you have to make everything dynamic? Or kinematic? I want the character to collide with things but I still want to be able to animate the limbs. (at least when the character is alive, I would like to make a ragdoll afterwards) How do you handle walking if everything is dynamic? I'm not new to programming but new to these concepts and have been tyring to do research. I've been using the manual so far, but are there any other resources that you would recommend?

I understand there is a problem using tiles with the character geting stuck on corners. I plan on dealing with this when the time comes but is the best way using an 'edge chain' to wrap everything in? What if you have floating platforms? Do you have to identify them at runtime and make chains for them?
Stuff like this is a bit difficult - you're stepping into inverse kinematics territory. I think what most games do is just use a basic non-rotating capsule for the character and use animation for everything else.

-P
Alright thank you. This makes sense. So using a single body, you wouldn't have pixel perfect collisions right? Is that normal? Is there common workaround? Looks like there is a lot more to animation than I realized. More reading is in order.

Edit: Looks like n doesn't even have pixel perfect collisions. lol.
Physics engines like this use polygonal collisions and such things like that. Pixel-perfect collisions are impossible without super-slowness (and don't forget rasterization problems, because a pixel is square, meaning a circle is impossible to make).

-P

Original thread: https://box2d.org/forum/viewtopic.php?t=7426