- Home /
Device Orientation Issue
Hi,
I am trying to make a camera move based on the data that has been received from the iPhone accelerometer. This works well for me when the device orientation is FaceUp. The camera moves where I want it to, in both the x and y axis. However, this becomes a problem when the device orientation is changed. If the device orientation switches to LandscapeRight, the accelerometer data does not respond in the same way, requiring the device to be turned in different ways to achieve the same effect. Because it is a book I am working on, I need to be able to view it from different orientations. Any help would be appreciated.
Answer by thomasw · Jun 01, 2011 at 07:55 AM
I think your question might be answered here: http://answers.unity3d.com/questions/17771/accelerometer-script-but-used-while-device-in-land.html
Your answer
Follow this Question
Related Questions
Incremental acceleration with Imput 1 Answer
How to make simple tilting function on the iPhone 2 Answers
how to convert Input.mousePosition into iphone/android accelerometer? 1 Answer
Zero-ing the Input.acceleration.z 0 Answers
Bat Swing Iphone 0 Answers