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

Camera stays in place instead of moving with part that moves by animation editor?

Asked by
s7ana 0
6 years ago

For this one thing I have the camera's cframe set to a part's cframe on it's front surface. The part in question is not a part of the player character and is also being moved by the animation editor. My problem is that the camera does initially have it's cframe setup, but when the part moves the camera doesn't move with it and stays in place.

Camera.CFrame = game.Workspace.CamAnim.camPart.CFrame

Just a snippet but I figured that kind of thing would stay constant i.e if camPart moves it'd go along with it but it didn't. Anyone know a quick solution?

0
try a while wait() do. ieatandisbaconhair 77 — 6y
0
No. wait() should not be your condition in while loops User#19524 175 — 6y

Answer this question