Character ragdoll physics and animation