How to get the angle ?

Bruno Duarte
Posts: 12
Joined: Mon Sep 03, 2007 3:32 pm

How to get the angle ?

Post by Bruno Duarte »

I have a litle problem.

I have a simple box and i am triyng to find his angle, on all the axies. I tried to use the quaternions but i can´t convert that 4 dimensional vector, and tried to use the getEuler but that always returns 0 or Pi, as the angles. I gave to the body an angular velocity over the y axie but even like this the getEuler returns 0 or Pi. Can anybody help me to solve this problem
Bruno Duarte
Posts: 12
Joined: Mon Sep 03, 2007 3:32 pm

Re: How to get the angle ?

Post by Bruno Duarte »

I don´t know if i was clear, my problem its to find out what is the angles over all the 3 axies, the x, y and z, i can get a quaternion but i don´t know how to use his values