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

Camera Following the Player's Cube?

Asked by 7 years ago

I made my game to make characters spawn as cubes. Is there a way I can make the camera follow the cube?

1 answer

Log in to vote
0
Answered by
1N0body 206 Moderation Voter
7 years ago

Use this(explains everything):

Camera Manipulation

On a more detailed answer:

You'll have to set the CameraSubject to the cube trough a localscript.

local player = game.Players.LocalPlayer
local camera = workspace.CurrentCamera

camera.CameraSubject = workspace.Cube

But if the characters SPAWN and ARE the cubes, I don't really think you'll need this. Unless you don't use the StarterPlayer's built in functions to handle such cases.

This will be useful for you.

0
Thanks so much, dude! Shadi432 69 — 7y
Ad

Answer this question