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

Anybody know a good, efficient way to lock the camera?

Asked by 8 years ago
while true do
    wait(0.05)
    script.Parent.CoordinateFrame=CFrame.new(Vector3.new(script.Parent.CoordinateFrame) + Vector3.new(script.Parent.CoordinateFrame.lookVector * 16))
end

This is the closest way I found, except I know there are a few other ways. Basically, I want the camera to lock in one position so the player can't move the camera at all.

1 answer

Log in to vote
0
Answered by 8 years ago

Simply select your ingame camera, and switch the the Camera-type Property to Scriptable

Ad

Answer this question