Answer the question
In order to leave comments, you need to log in
The camera is not rotated correctly. What's wrong?
I am writing a simple game in Unity using C#. I need to implement camera rotations with the mouse, I do it like this:
transform.Rotate(-Input.GetAxis("Mouse Y"), Input.GetAxis("Mouse X"), 0, Space.World);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question