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

How do I lock the view at one angle?

Asked by 10 years ago

Like in the game Lucent by ShareYourCups, I want to lock the view of the 'camera', per say, so that you can't move it around and see the game from other angles.

Help!

2 answers

Log in to vote
0
Answered by 10 years ago

Plan on using vehicle seats, I know you can make the camera follow the object.

Ad
Log in to vote
0
Answered by 10 years ago

Perhaps you are looking to change the players camera type to attach. Create a LocalScript and put it in the StarterGui

--Paste this in the LocalScript in StarterGui!
local camera = Workspace.CurrentCamera
camera.CameraType = "Attach"

Answer this question