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

How to manipulate the player's camera to view something other than him or her?

Hi. How would I make the camera look at something other than the player? (Ex. Like a camera mounted on a wall).

Thanks so much!

1 answer

✓ Accepted answer

In a LocalScript, workspace.CurrentCamera.CameraSubject refers to the object that the player's camera focuses on.

--Run in a LocalScript in StarterPack
repeat wait() until workspace.CurrentCamera.CameraSubject
workspace.CurrentCamera.CameraSubject = workspace.CameraMountedOnWall

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