TurnEntity - Quaternion Example

BlitzMax Modules Forums/MiniB3D/TurnEntity - Quaternion Example

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.

Hi Chris,

thanks for your help. I picked MiniB3D in order to not go through such math intensive things(artist here) but your code 1)actually works and 2)is somewhat understandable for a person like me.

So thanks again - ill digest now.

North

--

Update:

How did you derive these numbers:

xturn.w=0.99996192306417131 ' a z roatation
xturn.x=0.0087265354983739347

You multiply this turnvalue with the objects quaternion.
Changing this values often results in an exploding object.

What would be valid numberranges here? Or am i on the wrong track?

I'll keep playing.