Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm starting a new project with XNA. I want to create a game where the main character is subject to ragdoll physics when killed. I was wondering if anyone can give me any tips on how should I implement the character class and apply these ragdoll physics before I start coding so I don't have to refactor my code later. No code is necessary, just a basic overview of an algorithm and some tips. I've found a lot of information about ragdoll physics in 3D but nothig about 2D in XNA.

share|improve this question
See this – Roy T. May 8 '12 at 15:35
there is only one link given as an answer in that webpage and it is broken but thanks for helping anyway! :) – Christian May 8 '12 at 15:45
Yeah I wanted to give that forum post aswell to show that it's not only 3D. Didn't realize the link was broken, here is where it should've pointed:… – Roy T. May 8 '12 at 17:07
Excellent, thanks a lot, It has a lot of good pointers. Why don't you put this as an answer so I can accept it? – Christian May 8 '12 at 17:23
The Farseer physics engine supports 2D ragdolls and works with XNA. You might try that. – Nic Foster May 8 '12 at 19:00
up vote 0 down vote accepted

As requested I've converted my comment to an answer

Take a look at this paper by Thomas Jakobsen, the ideas in there are as valid for 2D as they are for 3D.

Nic Foster (in the comments) also makes a good point that Farseer Physics supports 2D Ragdolls (I totally forgot about that) so that would be a good 'instant' solution and you can take a peak in the source code to see how it's done.

share|improve this answer
Great answer! thanks! – Christian May 9 '12 at 14:44

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.