Hello I’ve been messing around with some airplane FPS style games using the example code from the Startrooper demo. One thing that is really annoying is that all the example scripts I can find for using the accelerometer assume that your iphone is parallel to the ground.
As you can imagine this makes all my airplane controls very awkward and is ruining the fun in my game.
I was wondering if anyone could share some example code to be able to set the default position of my iphone to a tilt instead of being parallel to the ground. Any help is greatly appreciated
-Thanks
There’s been a few threads on this - here’s a long one:
http://forum.unity3d.com/viewtopic.php?t=15684&postdays=0&postorder=asc&highlight=calibrate+accelerometer&start=45
This approach has been working great for me, you’ve just basically got to decide when to calibrate 
Thanks a bunch that thread was a BIG help 
EDIT:
Also I was wondering if there where any references on AI design on the forums I couldn’t find any in the search and have no idea where to start.
as you may have noticed Im new to coding More of a designer so any help would also be greatly appreciated
-thanks
Many of us here are new to coding. I’ve been using Unity since early March and I feel comfortable with Unity Script and I have had no prior programming experience.
I think you will find 90% of your questions are answered here on the forums. Searching the forums is key.
Have fun and welcome to Unity…