Quaternions and Some Questions

Blitz3D Forums/Blitz3D Programming/Quaternions and Some Questions

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.

Try this

QuatAngleDifference# = acos(q1\x*q2\x + q1\y*q2\y + q1\z*q2\z + q1\w*q2\w)

b.t.w, I don't think quaternions contain a regular vector, else why would quat.w have any bearing on the vector as it does in the above dotproduct code?