Change iphone view to horizontal?

Hi

Im trying to do a stereo-vision world viewport for iPhone.

I got two cameras set up on left and right side…

everything is working!

except the app is set up for vertical hold… it splits the screen in vertical mode…

I want to hold the device side wide and have it split the screen left right but in side held mode. ( not sure if this is making sense )

attached is my set up… the view in Unity appears to be side side and horizontal layout… but its not - when it runs in iPhone its vertical layout.

Can someone help me get past this?

the cameras will orient automatically. tell the app to go into horizontal mode (see screenorientation) and it will correspondingly rotate :slight_smile:

by the way: you can choose the appropriate resolution for the iphone screen in the dropdown next gto game. that gives you a better feel for what it will look like unlike your currently completely wrong aspect ratio …

ok i answered my own question…

Unity>EDIT>PLAYER>DEFAULT SCREEN ORIENTATION!

but now my script is all bass-ackwards for the accelerometer inputs!

i guess I need to switch some axises on the script to make it landscape friendly…

agh… axis dizzy… Im going to have to decipher this script.

Oh

just saw your reply there…

I guess Im doing this by forcing the player in the proper mode…

the game is really only meant to be seen in landscape mode…

sounds like I can automatically also have the app recognize orientation changes and move the viewports as well yes?

:slight_smile:

Thanks… Ill keep tinkering… Im sure Ill be back with more dumb questions.