Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I lock the camera?

Asked by 9 years ago

I'm making an infinite obby game, where blocks are teleported infront of the player as they are needed. To try make the game more controlled, I have locked the camera first person, but I want to to constantly point forwards(Along the X axis), however I can't find any ways to do this. Does anybody know method?

0
You'll want to set the Camera.CameraType to 'Scriptable' , then you can manipulate the position and facing direction of the Camera manually. duckwit 1404 — 9y
0
Thanks! Protoduction 216 — 9y

1 answer

Log in to vote
1
Answered by 9 years ago

Look here: https://scriptinghelpers.org/questions/15994/how-can-i-lock-the-camera#19177


Look it up in the wiki


Or, on the top of the website, there is a search button.



Hope it helps!

Ad

Answer this question