I am awear that CameraOffset uses vector3, therefore if you can rotate a vector3 value. Then you can Offset at an angle. However I am unsure if this is possible. Any ideas or responses?
✓ ANSWER ACCEPTED
Can you use CameraOffset to offset the camera at an angle?
1 answer
✓ Accepted answer
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!
local cam = workspace.CurrentCamera
local offset = CFrame.Angles(0,math.rad(10),0)
cam.CameraType = "Scriptable"
wait()
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.
This discussion is preserved as it was. New answers, comments, and votes are closed.
