Quaternion Functions OK ?

Blitz3D Forums/Blitz3D Programming/Quaternion Functions OK ?

The function is ok as long as you do the following:

Reassign the resulting x,y and z components to :

z=x
x*-1=y
y*-1=z

the w component is ok.

Depending on which quat function you use this may alter slightly - I haven't found a quat function yet that does it right first time - they're ok when working with their own generated quats but using .b3d quaternion animation keys they screw up big time.