Quat class operator* bug?
#1
Tracking down some strange behaviour in script code that did similar to:

Quat a = ...;
Quat b = ...;
Quat c = a*b;

It compiled so I assumed the Quat class had a functioning quaternion multiply operator*.  However it appears either this is not the case or you have a bug in the code there, as whatever it does it doesn't seem to be a functioning quaternion multiply?  Maybe it's simply multiplying the components instead?

Either way I have coded around it by implementing a proper multiply for quaternions, but if its not a bug maybe a note in the script API would prevent others from falling in the same trap...
  Reply
#2
Thanks! It's indeed a bug that will be fixed in the next build (the multiply operation was returning a Quat of [x,y,x,w] instead of [x,y,z,w]).
  Reply


Forum Jump: