How can I animate the viewmodel camera?

How can I animate the viewmodel camera? I want the camera to follow the player’s head.

2 Likes

Do you want to lock the player’s camera to a part?

This is what I want to achieve :
aaaaa2
(oops my bad, I acidentally sent it as an image, not a gif)

I want this but during gameplay.

1 Like

I’d say to lock the camera to a part and to animate that part.

How would I do that??? CameraSubject???

Sorry for no coding demonstration.
I’ll work on one now.

1 Like

You asking for something like this?

local RNS = game:GetService("RunService")

local camera = workspace.CurrentCamera
local viewmodel: Model = --insert model

RNS.RenderStepped:Connect(function()
	viewmodel:PivotTo(camera.CFrame)
end)

no, im asking for the camera to move with the players head