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 -
1 | local Player = Game.Players.LocalPlayer |
2 | 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:
1 | 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:
1 | game:GetService( 'Players' ).LocalPlayer.CameraMode = Enum.CameraMode.LockFirstPerson |
2 |
3 | game:GetService( 'Players' ).LocalPlayer.CameraMode = Enum.CameraMode.Classic |