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

How do I make a cube world like camera?

Asked by 9 years ago

I want my game to have a third person camera like the game cube world. How would I do that? Please explain it easily, because I get confused by lua very fast.

0
Destroy the character or deattach it from the player LostPast 253 — 9y

1 answer

Log in to vote
0
Answered by
Traide -2
9 years ago

This makes the Camera stay in one spot.

local cam = game.Workspace.CurrentCamera
cam.CameraType = "Scriptable"

To move the camera:

local cam = game.Workspace.CurrentCamera
cam.CameraType = "Scriptable"
cam.CoordinateFrame = CFrame.new(0,0,0)

Get what part you want the camera to focus on, get its position and put it into the 0,0,0

Ad

Answer this question