- Home /
Question by
zhijie · Nov 13, 2013 at 08:01 AM ·
rotationorientationwebcam
How to change the camera rotation/orientation?
Right now I have a mini webcam application I made myself, but the camera orientation doesn't seems to be correct at all. I have uploaded a picture. I have scaled down the image size in order to get it upload successfully. As you can see, the phone is actually in a Portrait position, but the camera is looking the object with landscape angle. How can I actually solve this?
2013.11.13.15.28.01.png
(333.6 kB)
Comment
Answer by ejpaari · Nov 13, 2013 at 08:53 AM
A) Change the device orientation Edit -> Project Settings -> Player -> Resolution and Presentation -> Default Orientation
B) When you actually attach the texture to something, just flip it. If you are using draw texture -functionality, change the coordinates. If you attach the texture on a quad, rotate it.