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

Camera Manipulation Problems, why doesn't it work?

Asked by 10 years ago

For some reason, when i try to execute this script, it only rolls the camera and changes the coordinate frame, but it doesn't look at the baseplate. Can anybody tell me why?

Workspace.CurrentCamera.CoordinateFrame = Workspace.BasePlate.CFrame * CFrame.new(0, 5, 0) Workspace.CurrentCamera.Focus = Workspace.BasePlate.CFrame Workspace.CurrentCamera.CameraType = "Scriptable" Workspace.CurrentCamera:SetRoll(math.rad(0))

It's in a corescript. I'm using it in a plugin

Answer this question