Do not recreate the script or you will get huge motion sickness
by user 483253293477265409
Do not recreate the script or you will get huge motion sickness
by user 483253293477265409
Mind explaining what it should do? From just looking at the code I’d say it spins some object rapidly, roughly based on mouse motion but not really (it will always rotate)
camera movement based on mouse input
by user 483253293477265409
Understood, but what is not working as it should?
Motion sickness awareness btw
by user 483253293477265409
It was going crazy because I had the “Look forward” option checked on the character controller, now it is like this which is bad but its something that at least makes some sense @herbst🌵
by user 483253293477265409
That looks like progress!
I think I may understand your issue now:
typically when you rotate a camera like this, you want to rotate Y around world up axis and X around local right axis
(instead of both in local space or both in world space)
but currently I’m just getting the mouseX position and slapping it into the gameobject’s rotation. How do I tell it to rotate around the local axis?
by user 483253293477265409