views:

91

answers:

0

Hello,

i just teste WiiuseJ library which is a binding for Wiiuse lib and i've noticed some strange thing with the orientation values.

If you hold the wiimote straight the angles are 0, 0, 0 (ignore yaw, i don't use sensor bar)

The thing is when i rotate the wiimote around the Z axis (roll) it goes to 90 degrees, that is correct, but here's the problem.. the pitch value also changes to values around 180 degrees without me doing any rotation on that axis.

I'm not sure what is the problem, i was hoping someone could explain what it could be and how could i handle rotations correctly using the orientation values?

thanks in advance