Tokamak problems, need your help

Blitz3D Forums/Blitz3D Programming/Tokamak problems, need your help

Sweenie(Posted 2004) [#1]
Hi.

Due to my problems with conversions from and to Euler angles I will expose the Quaternions and Matrices Tokamak uses to Set & Get the orientation of bodies and joints.

Hopefully someone in this community will get the rotations working properly and when it does I can move it back into the wrapper.

I will release an updated version shortly with a set of functions for setting and retrieving the Quats&Matrices.

(I'll let you know in this topic when the new wrapper is uploaded)

//Sweenie


Ricky Smith(Posted 2004) [#2]
Check these threads it may be relevant if you're having trouble with your quats ! :

http://www.blitzbasic.com/Community/posts.php?topic=27982

http://www.blitzbasic.com/Community/posts.php?topic=28791


Shambler(Posted 2004) [#3]
This look good

http://www.gamedev.net/reference/programming/features/qpowers/page4.asp

[edit] and these...

http://www.euclideanspace.com/maths/geometry/rotations/conversions/eulerToQuaternion/index.htm

http://www.euclideanspace.com/maths/geometry/rotations/conversions/quaternionToEuler/index.htm