This is an extension of the Bullet appGenericJointDemo (the ragdoll demo that uses btGeneric6DofConstraints as joints).
The joints are animated by applying motors to the constraint axis (thus the animations aren't "quaternion" based, but just "Euler" based) like in the Bullet appForkliftDemo and appDynamicControlDemo (also known as appMotorDemo: the "mechanized spider" demo).IMPORTANT:
This is not intended to be an optimal solution; it's just a starting point that can be used by developers who want to implement something similiar from scratch.Screenshot:
AnimatedRagdollDemo.JPG [ 25.08 KiB | Viewed 1354 times ]
Source code + precompiled binary for Win32 (compiled with Visual C++ 2008 and /MD, Visual C++ 2008 Redistributable Package required):
AnimatedGenericJointDemo.7z [273.5 KiB]
Downloaded 233 times