- Home /
Using the accelerometer to rotate Camera
I'm wanting to create an app for Android that puts the user into a scene that they can look around by moving their device. Basically using the device as a window into a different world. Obviously the camera will be locked in position but will be able to rotate on the spot. Does anyone know of any code that could do this?
Answer by tanoshimi · Aug 26, 2014 at 11:10 AM
https://www.assetstore.unity3d.com/en/#!/content/1701
Or, code it yourself:
http://alastaira.wordpress.com/2013/08/24/the-7dfps-game-jam-augmented-reality-and-spectral-echoes/
A great place to start, just have to understand it now! Thanks
Your answer
Follow this Question
Related Questions
C# Rotate GameObjects Regardless of List Size 2 Answers
Rotating a GameObject based on another GameObject's y-axis 1 Answer
Can I limit the rotation of an Object on an axis between a Negative and Positive value? 2 Answers
2D Camera Rotation Along Level Boundaries 1 Answer
Rotate a GameObject without affecting the direction of motion? 0 Answers