I used hinge joints in unity, you can connect a bunch of body parts together with hinge joints to create a ragdoll character.