How to override camera scripts

I want to change canOcclude function in ZoomController.Popper. How do I do that? Do I have to recreate the whole structure?

1 Like

You need to copy over all the default camera scripts and put them in StarterPlayerScripts. From there on you can modify the source code as you like as if its normal scripts you made yourself. As long as you have a LocalScript named CameraScript in that folder, the default camera behaviour will be completely overriden.

1 Like

Just put a local script in the starter pack and in the local script put:

game.Workspace.Camera.CameraType = Enum.CameraType.Scriptable

doing that will make the camera only work and change position from the local scripts

1 Like

Perhaps you could submit a feature request for module-level control of things like this.