Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I remove the camera pitch restrictions?

Asked by 8 years ago

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.

1 answer

Log in to vote
0
Answered by
RubenKan 3615 Moderation Voter Administrator Community Moderator
8 years ago
Edited 8 years ago

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

Ad

Answer this question