I understand how to copy, modify, and override the existing CameraScript. I have tried looking through the code, but I am rather inexperienced when it comes to camera manipulation. In my project it is important for me to be able to enable/disable the pitch restriction at will. Any help with this would be greatly appreciated.
✓ ANSWER ACCEPTED
How do I remove the camera pitch restrictions?
1 answer
✓ Accepted answer
Set the CameraType to "Scriptable". This will disable the cameraScript from roblox and allow you to do whatever you want to it.
game.Workspace.CurrentCamera.CameraType = "Scriptable"
http://wiki.roblox.com/index.php?title=API:Enum/CameraType
http://wiki.roblox.com/index.php?title=API:Class/Camera/CameraType
This discussion is preserved as it was. New answers, comments, and votes are closed.
