Blitz3D rotation order?

Blitz3D Forums/Blitz3D Programming/Blitz3D rotation order?

I'm trying to mimic the B3D rotations. It's really hard. Is Blitz X,Z,Y or Z,X,Y rotation order?

It's Z,X,Y. :)

Here are my old notes about rotation order:

Just what do EntityPitch/Yaw/Roll return?

After doing 'RotateEntity e,p,y,r' they return p,y,r.
This is no great surprise. But their individual meaning
is not so obvious. Experimentation shows that doing
the simple turns in the order Yaw,Pitch,Roll gives the same
result as 'RotateEntity e,Pitch,Yaw,Roll'.

RotateEntity e, 0,0,0
TurnEntity e, 0,y,0
TurnEntity e, p,0,0
TurnEntity e, 0,0,r

Now Pitch,Yaw and Roll are reported as p,y,r.

The values are in the following ranges:

-180 < Yaw <= 180
-180 < Roll <= 180
-90 <= Pitch <= 90 note that -90 is included.

You both just told me completely opposite things.

Well, i'm using Z,X,Y for my custom rotations for the single surface particle stuff. If i do it X,Z,Y they don't rotate correctly.

I was pretty sure it was Z,X,Y, but thought I would ask.

i also get z,x,y if you were still wondering.

How hard would this be to test? Seriously.