Need help with the "Custom" property of the camera

When your character spawns the subject of the camera is the humanoid and the cameraType is set to “Custom”. In this state you can spin around the character in third person and in circles and all that.

Using code you change the rotation of the camera CFrame which in turns change the position of the camera watching the player. I was wondering if there is a way to change the depth/distance of the camera. Like so it is 5 studs from the player of 15.

Note: I do not wish to set the CameraType to anything else than Custom as I want it to work as it does from the start, just want a function or some thing to change the distance the camera is from the player’s character. Like how the scroll wheel works on computer

1 Like

Yes. You can play with CameraMaxZoomDistance and CameraMinZoomDistance in StarterPlayer and on the player instance itself if I understood correctly.

This does not really game the result I want. Using this “tweens” the camera to the position. I want to snap it instantly

You can set the camera type to Scriptable, move the camera, and then set the camera type back to Custom.

Does not work. The distance to the new subject changes back to the “standard”