Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

how to lock camera so you cant rotate or zoom ?

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 ?

1 comment

0

I would just set the camera type to scriptable.

2 answers

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.


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

This discussion is preserved as it was. New answers, comments, and votes are closed.