Hi,
I want to make a spaceship fly, but I don’t understand how can I make the rotations of mouse on axes, how can I move the ship in space(I made only move forward, back, right, left, up and down ).I want to move it after the cursor(I hope you know what I mean).
Please if you can tell me, what functions to use, how to calculate the rotations because sincerely I don’t understand too much in unity scripting reference and maybe I understand from you.
Also if you can explain me how does the quaternion and the eulerAngle works
And if you can tell step by step how to make this things or draw on a paper how quaternion and eulerAngle works I would be so grateful.
Thanks!
Add Mouselook to your character controller.
Quaternion = complex mathematical doohicky where madness lies (but it allows for smooth rotation on all axis without suffering from gimball lock)
EulerAngle = what most people think about when thinking about angles. Has the rotation in 3 components, one per axis (handily just like a Vector3…).
In unity you want to use the quaternion when giving the game engine a rotation, and there are EulerAngle() functions to help with changing the easier degrees representation into the complex mathematical one.
Don’t try to modify a quaternion manually; if you think it’s a good idea to try, the chances are you don’t understand them enough to actually do it… and if you have to ask what a quaternion is, really don’t 
(if you really want to know how a quaternion is: Quaternion - Wikipedia and for completeness the wiki for euler angle: Euler angles - Wikipedia)
… google and wiki are that way btw points 
Thanks for replies.Finally I made what I wanted, but without quaternions or eulerAngles.Maybe I will experience with those to see what I will do.
Thanks again!