Ragdolls (Body & Joint Physics)

So I figured out how to make a “ragdoll” body with limbs that flop around with both xy constraints and angle limits (useful for death “animations” and general player and enemy physics in a 2D sidescroller).
The joints only constrain one limb based on another’s information, so 2-way interactions cannot happen yet (except if 2 limbs collide and flowlab’s solid object physics kick in).
Any feedback?

I also want to mention that DraftyScienceCoat has done something similar here:

I didn’t take any code or ideas from it, but it’s pretty cool.

8 Likes

Why don’t you have the Pushing the Envelope badge yet? I think you totally deserve it

5 Likes