Answered by
6 years ago Edited 6 years ago
This property is for offsetting the the CameraSubject's location - Vector3
types do not contain rotation information, if you desire to offset the Camera's location you will have to edit it's CFrame
property on the client!
1 | local cam = workspace.CurrentCamera |
2 | local offset = CFrame.Angles( 0 ,math.rad( 10 ), 0 ) |
4 | cam.CameraType = "Scriptable" |
8 | cam.CFrame = cam.CFrame * offset; |
- Note that the Camera's CameraType
must be set to Enum.CameraType.Scriptable
prior to manipulating it through code.
- Also note that you must set the CameraType
back to Enum.CameraType.Custom
for it to respond to user-input again.