Im working on a top down my self and had to toy around with rotation the post here might have some information for you it talks about zeroing a rotation i.e. to level out but also has rotation code in in it as well as a link to another post on a similar topic
[http://answers.unity3d.com/questions/312019/set-certain-axis-of-rotation-to-0.html][1]
[1]: http://answers.unity3d.com/questions/312019/set-certain-axis-of-rotation-to-0.html
↧