LockFirstPerson really doesn’t work, even with MaxZoomDistance at 0.5.
how about setting max and min zoom to 0?
This works perfectly for me?
I have that checked, but when I test the game, im in the Orbit Camera Mode, not FirstPerson
Cant do that for some reason, the min and max is 0.5
Can try just having a local script change the local camera via something like this
game.Workspace.CurrentCamera.CameraMode = "LockFirstPerson"
You should use Enum.CameraMode.LockFirstPerson.
Is using enum just better or will my way without enum not work?
It has to be an Enum.CameraMode
value. The type of the property is not a string, so using a string will not work. It would throw an error. It must be Enum.CameraMode.LockFirstPerson
.
That’s not even mentioning the fact that the camera object (which would be what workspace.CurrentCamera
is equal to while playing) does not even have a CameraMode property.
If you want to change the player’s CameraMode to Classic
or LockFirstPerson
, you would change it on their player object. It would be Player.CameraMode = Enum.CameraMode.LockFirstPerson
.
Can you explain the problem more, please? I have nothing to work with.
Ok thank you for the explanation, im actually going to use this for a rewrite I’m doing
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.