I have been busy trying to integrate Bullet into my project, and am finally getting somewhere. I definitely needed double precision for my project and can tell you it's now working quite well with collision detection on a full earth globe model terrain using geocentric coordinates.

Now for my question. I need to get the euler angles from a btRigidBody (pitch, roll, yaw) but all I can find is the quaternion orientation. What's the best way to convert this to euler angles? Are there some built-in function I've missed? I do have my own set of classes to deal with quaternions but I could not even find a function to get the 4 elements out of the btQuaternion.. (maybe I'm getting blind).
Cheers,
Ola