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

Help with advanced camera manipulation? [ANSWERED]

Asked by 8 years ago

I am making a script for my game so that after 2 seconds it will slowly rotate from facing up then slowly go round to the left hand side like looking at your bedside table in the morning. But no matter how hard I try I can't figure out how to create the effect. Here is the code so far:


local cam = workspace.CurrentCamera cam.CameraSubject = workspace.Intro -- A part in workspae called intro that i want cam to focus on cam.CameraType = "Scriptable" cam.CoordinateFrame = CFrame.new(workspace.Intro.Position) * CFrame.Angles(90, 0, 0) -- make the cam look up at ceiling wait(2) --look to left then right

the effect i'm trying to create is lying on your back in your bed. then tilting your head to the left looking at your clock then the right.

0
Use the interpolate method Perci1 4988 — 8y
0
Thanks turtle2004 167 — 8y

Answer this question