Hi! - I am currently working on a game that is completely first person based, and as such, I have locked it into first person.
However, the ForceFirstPerson camera property appears to have been removed, breaking my method.
I am now using this -
local Player = Game.Players.LocalPlayer Player.CameraMaxZoomDistance, Player.CameraMinZoomDistance = .5
This works flawlessly in solo mode - but does not appear to work on an online server.
Thanks in advance, - Dragon
Put the following line in a localscript:
game:GetService('Players').LocalPlayer.CameraMode = Enum.CameraMode.LockFirstPerson
This is the way that you lock a camere in a first person.
ForceFirstPerson is still available, but it's not Force any more, it's Lock as per the next two lines:
game:GetService('Players').LocalPlayer.CameraMode = Enum.CameraMode.LockFirstPerson game:GetService('Players').LocalPlayer.CameraMode = Enum.CameraMode.Classic