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

Why is my camera stuck in first person?

Asked by 7 years ago

So i was playing around with the camera, trying to make it stay in one direction without the player manipulating it in any way. I played around with the max and min zoom but now it's stuck in first person, i have checked each property of the camera trying to see if i changed anything that made it stay in first person but so far i have found nothing. This is the code i have that makes it look at an invisible part (this is at the position i want it to stay at):

repeat wait() until game.Workspace.CurrentCamera --Wait for the camera to load
local cam = game.Workspace.CurrentCamera
cam.CameraSubject = game.Workspace.camPos --Change the camera's subject to a part in workspac
wait(1)
cam:TiltUnits(1.4)

Any help is greatly appreciated. Also, the CamerMode is set to Classic. All other options are set to UserChoice.

0
Have you tried setting the CameraMode to scriptable? Rodmane234 85 — 7y
0
CameraMode only has Classic and LockFirstPerson options to set it to...? addictedroblox1414 166 — 7y

Answer this question