Quote:

YAY!

I got it working.... yeah, exactly as you were saying about the rotations. Apparently there's a bug in ang_for_bone(). Calling it will do a bone_reset(), which will screw up everything

I'm debating sharing my solution, but I have a working ragdoll system (entire Bones system created through CreateBones() ). The model's bones will rotate to match the skeleton.

However, (a little hint) since I'm forced to use the PH_HINGE of physics, I can only rotate each bone in one direction (unless I add another [small] bone in between the joints). So for now, it works, but it's not as realistic as it can become

I'm working on a little demo, where the "testdummy" model (you choose how many) all run towards a bomb, then when you press space, it explodes, sending them all flying!

I'll try to have it soon....




cool! why dont we share our code, and make this the biggest contribution EVER! (for free, yes).
Shoot me on MSN/ICQ.

regards,


Formerly known as dennis_fantasy
Portfolio - http://www.designorhea.com/
Project - http://randomchance.cherrygames.org/