- Home /
Minor Track Ball Issues
Greetings, people!
I have been working on rotating a camera with track ball script for the past one week. Generally things are going okay, the camera moves left/right/up/down along with the mouse quite nicely. But the problem is, when the camera is rotated to another side of the game arena, it starts to go upward when the mouse goes downward.
Apparently my rusty trigonometry is not helping at all in figuring out what is wrong (I am sure the solution to this is really simple, but I cannot get it to work). I have attached a bare minimal sample Unity project that shows this problem, and I'm confident that you experts can help me with the script.
Thanks in advance for any help that I am getting! :)
Regards, Ben.
Your answer
Follow this Question
Related Questions
Unity - Dancing Ball World camera following and rotating system 1 Answer
Free Look Camera 1 Answer
Camera View Problem 0 Answers
Cinemachine glitch 0 Answers
Would anyone teach me how to create camera movement and look controls? 2 Answers