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

How would I get a camera to lock into first person in game?

Asked by
hozann 75
8 years ago

Alright so I've been looking all over and I can't find anything about it, but I'm looking for a way for the camera to be locked in from the beginning of the game, and be manipulated so that let's say your character is upside down, your camera is also upside down as if your head is the camera.

Would be great if i could get an article or code on this, thanks!

3 answers

Log in to vote
0
Answered by 8 years ago

Go to,

StarterPlayer > Camera Mode and choose LockFirstPerson

0
Yes, but is there a way it can ultimately do this? - http://prntscr.com/anbfay hozann 75 — 8y
Ad
Log in to vote
0
Answered by 8 years ago

StarterPlayer/CameraMode = LockFirstPerson

Log in to vote
0
Answered by 8 years ago

This is late, but for some odd reason it was in my "answered" so here's a script that may help:

local player = game.Players.LocalPlayer

player.CameraMode = Enum.CameraMode.Classic
wait() 
player.CameraMode = Enum.CameraMode.LockFirstPerson

Answer this question