How would I make the camera follow the head rotation?

Hey there! I’m trying to make the camera follow the head smoothly.

Here’s roughly what I’m trying to achieve:
https://streamable.com/23itvc

Here’s what I’ve tried:

RunService:BindToRenderStep("CameraSway", Enum.RenderPriority.Camera.Value + 1, function(deltaTime)
	Camera.CFrame = Camera.CFrame * CFrame.Angles(math.rad(head.Orientation.X)/100*10, 0, math.rad(head.Orientation.Z)/100*10)
end)

The problem with this is, is that it doesn’t exactly follow the head, and makes the rotation shoot out way further than the actual head rotation.

What can I do to achieve this? Any help is appreciated!

1 Like

Have you tried just matching the head CFrame?

local offset = CFrame.new(0,0,-1) --1 stud in front of head
Camera.CFrame = head.CFrame * offset

Yes, but it will just spin the player really fast in first person.

Is the camera set as scriptable? Though I suppose the character controls might be based off the camera as well. Sorry, that’s the best I got without trying to do it myself.