sgMotion with Jiglibx ragdoll

Aug 8, 2011 at 4: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.) ?

Developer
Aug 9, 2011 at 9:32 AM

I believe you may only rotate individual bones using Quaternions. Unless it's somewhere I don't know of...it 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.