Ah, I think I see what might be going on - if the quats are in a b3d file, they'll have been generated by something else. I think there are different ways to calculate quaternions, and the method in the archives may not be the same as Blitz uses internally. So the QuatToEuler function should generally only be used on quats made by the EulerToQuat function, and vice versa.
Quaternion Functions OK ?
Blitz3D Forums/Blitz3D Programming/Quaternion Functions OK ?The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.