How to make camera follow an animation while able to move the camera?

1. I’m trying to make the cameras CFrame follow an animation part while able to move it freely like a regular camera.

2. I’ve tried many ways like applying tween, adding or set the CFrame but it just ends up getting stuck or constantly turns.

3. Is there any solutions on the Dev forum I haven’t found yet or what have you tried so far that I haven’t done yet?

Game called Resurrections (Video Example)

1 Like

Applying any sort of tween to the camera’s CFrame means that your camera will get stuck while it tweens from point A to B; point B in this case having the risk of being outdated as your tween hasn’t finished playing out.
My understanding is you want the camera to be animated like all of the cool viewmodel animators have it. In that case you probably don’t wanna touch the CFrame of the camera directly and instead apply offsets to it. So something like this:

game:GetService("RunService").RenderStepped:Connect(function()
camera.CFrame = camera.CFrame * offsetCf
end)

So even if you move your camera around, it won’t affect the offset CFrame, which is only determined by the animation.

1 Like

That’s basically just setting the humanoid offset.

That’s not what I was asking for, but I did found out how to do it anyway.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.