I use the function getRotationMatrix. Now I’ve the azimuth, pitch & roll of phone.
But I would like to have the inclination of camera.
The pitch is also influenced by the roll
an example of what I want:
- the camera point to sky? angle -90°
- the camera point in front? angle 0°
- the camera point the floor? angle +90°
how can I do?
thanks in advance
try this.. Get a reference to Camera object