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

Not Locking Camera In Part, Why Is This?

Asked by 4 years ago
Edited 4 years ago

Hey there! One of the games I am making on my dev group needs a character creation system, and in order to do that I need to point a camera at a dummy, yet the script I made just points the camera to the floor,

can anyone debunk this myth?

I've check many sites including the wiki and tried there methods and everything I could POSSIBLY can. Please help!

repeat wait()
    workspace.CurrentCamera = Enum.CameraType.Scriptable
    workspace.CurrentCamera.CFrame = CFrame.new(workspace.cameraPart)
until
    workspace.CurrentCamera == Enum.CameraType.Scriptable and               workspace.CurrentCamera.CFrame == workspace.cameraPart

Thanks!,

Narwhal

0
Try rotating the cameraPart with the rotation tool. I don't know if this is true but the camera points usually to the front of the part. sean_thecoolman 189 — 4y
0
BloxburgAccountBart, I did this and it still does NarwhalAndMe 141 — 4y

1 answer

Log in to vote
0
Answered by
EDLLT 146
4 years ago
Edited 4 years ago

There you go bud

workspace.CurrentCamera.CameraType = Enum.CameraType.Scriptable
workspace.CurrentCamera.CFrame = game.Workspace.cameraPart.CFrame
0
Yay thanks, :D NarwhalAndMe 141 — 4y
Ad

Answer this question