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

How do you make an overhead camera?

Asked by 8 years ago

I want to have the player's camera right above them when they move around but the CoordinateFrame part in the while statement prevents movement. Is there a workaround or am I doing it totally wrong?

wait(1)
Cam = game.Workspace.CurrentCamera
h = script.Parent.Parent.Character.Head
Cam.CameraType = "Follow"
Cam.CameraSubject = h
while true do
    Cam.CoordinateFrame = CFrame.new(h.CFrame.x, h.CFrame.y + 20, h.CFrame.z)
    wait()
end

1 answer

Log in to vote
0
Answered by 8 years ago

i think you should set the camera to scriptable

and if im wrong then heres where i looked at https://twitter.com/TigerCaptain_/status/607026826368720896

0
wait is this in a local script?? bubbaman73 143 — 8y
Ad

Answer this question