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

how to lock camera so you cant rotate or zoom ?

Asked by 6 years ago

i want in my game when u join that u look at somthing like in phantom forces where u see ur character but how do i lock the camera so people cant move it ?

0
I would just set the camera type to scriptable. User#5423 17 — 6y

2 answers

Log in to vote
0
Answered by 6 years ago

click on starter player and go on properties and click camera mode and then select "lockfirstperson", also change some over properties such as DevComputerCameraMovementMode and set that as classic (this prevents it from being able to be changed and DevTouchCameraMovementMode (the one below) as classic.

Ad
Log in to vote
0
Answered by 6 years ago

game.Workspace.CurrentCamera.CameraType = "Scriptable" game.Workspace.CurrentCamera.CFrame = CFrame.new(0,0,0)--The CFrame you want it to be

Answer this question