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

How do I make the Camera follow the player's head?

I'm making a game with cut scenes and one of them is the character waking up, I want to make it so that when the camera is in First-Person, basically, I want to make it so that the camera will follow where the head turns to in the animation. Does anyone know how to script that sort of thing?

1 comment

0

You can set Game.Workspace.CurrentCamera.CameraType to "Fixed" and Game.Workspace.CurrentCamera.Camera.CameraSubject to the player's head instead of the player's humanoid. I haven't tested it yet, but I think that's how it works.

1 answer

--Create a [Non-LocalScript] new script in the workspace and place the information below.

pcall(function()
	game:GetService('StarterPlayer').CameraMode = ('LockFirstPerson')
end)

1 comment

0

Okay, that locks it in First Person, but I'm trying to make it so that the camera follows where the head turns, this doesn't do that.

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