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

Camera locking on a Part?

Like I know how to select different camera types on the character but what about if I wanted to use a part that the camera would lock on?

1 answer

✓ Accepted answer

Change the CameraSubject property of the camera.

local Player = game.Players.LocalPlayer
local Cam = game.Workspace.CurrentCamera

Cam.CameraSubject = Player.Character.Torso

--Or if it were just a random brick in the Workspace

Cam.CameraSubject = game.Workspace.Part

Alternatively, you could use Focus.

1 comment

0

Alright Thanks!

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