[OLD] Ragdoll / Joint Physics Test

275
276
7
8

Hold Left Click to move around the ragdoll body.


I figured out a way to make simple joint and angle constraints using math. The joints only constrain 1-way, meaning that for instance the torso here can push or pull on the arms but the arms cannot push or pull on the torso (except as occuring through flowlab's solid object physics, which are still active here).


I made this before the Joint behavior was added, so now this is partially obsolete (though the Joint behavior doesn't have angle constraints yet, while this does).
Here's my updated Joint test:
https://flowlab.io/game/play/2451739


I also want to mention that DraftyScienceCoat has done something similar here:
https://flowlab.io/game/play/2040090
I didn’t take any code or ideas from it, but it’s pretty cool.

Editor