- Home /
Question by
GAMIE64 · Jan 26, 2015 at 07:26 AM ·
c#rotationcamera-movement
Locking Camera rotation on less then 360 degrees
Hello,
I'm using the First Person Controller prefab asset. And i disabled it on the first person controller, so i'm only moving the camera and not turning the capsule.
But the camera can still rotate 360 degrees, even after setting the values to: MaximumX = 90 MinimumX = -90
i'm stumped, since i want the camera to rotate just 180 degrees.I already locked the cursor, but it's not working.
Comment
By 180 degrees, what do you mean? In what direction are you trying to limit turning?