Hello I am new with Unity and forum so be patient.
I have some basic programming concepts before beginning with this.
I want to do a Camera Mouse Controller. I was seeing some script and the most undestandable for me is one from official Unity API (Unity - Scripting API: Input.GetAxis).
transform.Rotate(v, h, 0);
Where V, axis Y and H axis X.
How ever, this wont work well. It moves X and Y right, but a strange problem. It seems to rotate at it’s own or something like that.
0 stands for Angle Z, but I dont need a Z Angle I don’t have one in the mouse, cause it’s bidimensional.
If i give a different value to Z it starts to rotate without interaction.
What shall I Do?
Sorry about my English.
Thanks for listening to me.