Auto-orient the view?

Is there any way to auto-orient the view based on how the player holds the device? In my non-Unity games I normally check the accelerometer and flip the view depending on the values I receive.

Is there a way I should be auto-checking this in Unity? Right now i’ve noticed that it’s not flipping.

Thanks!

I actually thought someone would respond by now to this. :slight_smile:

The Apple usability guide talks about how applications should never assume a certain orientation (left or right) when in landscape mode. Does Unity handle this bit of work for you or should I look at implementing my own method? I hoped it would handle it for you, but I may be mistaken?

you basically need to detect the orientation and then set it accordingly in the screenOrientation