Whenever I multiply two quaternions my Application crashes. No exception, nothing in the log file.
I tested it with just two standard quaternions. It´s also happening in this case. Bug? Any ideas?
There is a bug in the current NXOgre module that causes this -- search the forum for a fix (basicaly you manually multiply the quats)
Cheers
Andy
hmmm. I don´t find anything when searching the Addons Forum. Do you mean the normal forum? What should I search for? And I have no idea how to multiply the quats manually.
SirGolan
06-01-2008 17:00:26
This is the code I use for two tuples of 4 floats:
c = (a[0] * b[0] - a[1] * b[1] - a[2] * b[2] - a[3] * b[3],
a[0] * b[1] + a[1] * b[0] + a[2] * b[3] - a[3] * b[2],
a[0] * b[2] + a[2] * b[0] + a[3] * b[1] - a[1] * b[3],
a[0] * b[3] + a[3] * b[0] + a[1] * b[2] - a[2] * b[1])