SetRoll (Method)

SetRoll( float rollAngle )
Returns nil
Description: The roll of the Camera, in radians. This sets how tilted the camera is on the Z-axis. Basically, this function "twists" the camera a specific amount. Note that the Camera's CameraType must be set to "Scriptable".
Member of: Camera


Example
game.Workspace.CurrentCamera:SetRoll(0.1)

The above code makes the camera look like this:

game.Workspace.CurrentCamera:SetRoll(-0.1)

The above code makes the camera tilt like this:

External links