@ MadBit:
Here what I am using:
PITCH
rem PITCH
GLOBAL dummy_mat AS INTEGER
GLOBAL up AS INTEGER
GLOBAL g_up AS INTEGER
dummy_mat = DXMAT(0)
up = DXVEC3(0)
g_up = DXVEC3(0, 0, 0, 1)
ROLL
rem ROLL
GLOBAL Roll_dummy_mat AS INTEGER
GLOBAL Roll_up AS INTEGER
GLOBAL Roll_g_up AS INTEGER
Pdummy_mat = DXMAT(0)
Roll_up = DXVEC3(0)
Roll_g_up = DXVEC3(0, 1, 0, 0)
You can notice that the roll is different from your posted code:
ROLL MadBit original:
GLOBAL dummy_mat AS INTEGER
GLOBAL look AS INTEGER
GLOBAL g_look AS INTEGER
dummy_mat = DXMAT(0)
look = DXVEC3(0)
g_look = DXVEC3(0, 0, 0, 1)
1) I had to change your
DXVEC3(0, 0, 0, 1) in
DXVEC3(0, 1, 0, 0) because just
in this way I obtain the ROLL in my
game XYZ configuration...
I don't know why.. I just know that I know really little
about all that...
2) As you can see I am already using your pitch configuration!
------------------------------------------------------------------
@Le Verdier:
Please watch the new attached pic, you can see what
I mean for UNIQUE value. In all rotation frames
you can see that the value is always different from
other rotation frames!
How I can be sure of the airplane REAL PITCH if the pitch value 35 is the same for 2 pitch frames?
however, in spite of many difficulties by to understand
all the logic about angles and rotation, I think
I understand what you mean... or I hope that.. haha