Hey all,
I have been looking into the rotationMatrix (obtained when using SensorEvents), but so far i haven't been able to figure out what it exactly is and how i can use it.
I thought the matrix contained the lookAt vector and up vector of the camera in the 3rd and 2nd line respectively, however, if that is the case then i get some weird results, so what exactly does it contain?
I want to obtain the lookAt vector as if i was looking through the screen. Does anyone have an idea on how to do that?
thanx in advance!
I have been looking into the rotationMatrix (obtained when using SensorEvents), but so far i haven't been able to figure out what it exactly is and how i can use it.
I thought the matrix contained the lookAt vector and up vector of the camera in the 3rd and 2nd line respectively, however, if that is the case then i get some weird results, so what exactly does it contain?
I want to obtain the lookAt vector as if i was looking through the screen. Does anyone have an idea on how to do that?
thanx in advance!