Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do I make camera movements?

I am clueless about this... I looked it up, nothing, I looked on ROBLOX Wiki, nothing... Any help?

1 answer

✓ Accepted answer

You change the camera's CoordinateFrame:

workspace.CurrentCamera.CoordinateFrame = CFrame.new(5, 5, 5)

If you want to position the camera a certain way using a script, do this:

Step 1: In Studio edit mode, position the camera in any way you want.

Step 2: Open the command bar and type "print(workspace.CurrentCamera.CoordinateFrame)" (remove quotes). Copy whatever comes in the output.

Step 3: In the script, when you need the camera to be positioned, use this code:

workspace.CurrentCamera.CoordinateFrame = CFrame.new(whatever you copied in the output, you may have to edit it to remove symbols)

And that's that! Hope this helped!

2 comments

1
0

True. I was talking about initially positioning the camera and finding its current position

This discussion is preserved as it was. New answers, comments, and votes are closed.