Hello,
i have a small problems with the irrlicht-vectors.
I think, the vector 0/0/0 is the same like 180/180/180.
Small example from c4d: http://www.youtube.com/watch?v=febEaIjXIyY
In this case, my vector only have the value 0 for X and Z, only Y is rotating, but sometimes irrlicht "translate" the vector from 0/.../0 to 180/.../180. The Y-value is then of course not the same i inputed.
So I can't read only the Y-value to get the horizontal viewing direction of the object.
Is there any method or formula the get the "real" viewing direction from 0-359° ?
I hope you understand my poor english skills
Thanks!
Bastian
Vector 0/0/0 = 180/180/180 ?
Re: Vector 0/0/0 = 180/180/180 ?
I think the rotation values aren't from 0 to 359 but from -180 to 180.
Working on game: Marrbles (Currently stopped).
-
- Posts: 30
- Joined: Fri Jan 08, 2010 3:30 pm