sgMotion with Jiglibx ragdoll

Aug 8, 2011 at 5:51 AM

Thanks for the wonderful project.  My only headache is combining it with a jiblibx ragdoll.

Is it possible to optionally dictate where certain bones are placed, such as key points on the body (head, bottom of the spine, knees, etc.) ?

Aug 9, 2011 at 10:32 AM

I believe you may only rotate individual bones using Quaternions. Unless it's somewhere I don't know is not supported. It sounds like a good feature to have, but usually you would turn off the animation and switch to pure ragdolls as death animation for example, this would mean you don't need to dig into SgMotion and could instead copy the pose (array of matrices) and use it as the original pose for the ragdoll pose and let your physics library do its magic, after which you copy the pose (that is modified by the physics) to your model-bones and render it on screen.