(REPOST) Camera spins FAST when playing animation

I have an animation that plays whenever a player touches a part. It acts like a jumpscare. When you see it from server-side (in-game) it looks completely fine. But when I view it from the client-side, it spins around my camera like CRAZY! I don’t know why this happens, please help.

SERVER SIDE

CLIENT SIDE

CODE USED FOR CUSTOM CAMERA

local HumanoidRootPart = char.HumanoidRootPart
local Head = char.Head
local Offset = Vector3.new()

RunService.RenderStepped:Connect(function (DeltaTime)
		Offset = Offset:Lerp((HumanoidRootPart.CFrame + Vector3.new(0, 1.5, 0)):PointToObjectSpace(Head.Position), DeltaTime * 20)
		Humanoid.CameraOffset = Offset
end)
2 Likes

Boosting, still haven’t found a solution

1 Like

That’s weird… did you use the default Roblox animator or a different one like blender or moon animator?

1 Like

I used Moon animator for the animations.

1 Like

did you animate the camera at all or by accident? I would assume that’s what’s causing the problem.

1 Like

Nope, I only used the camera to view the pov of the player. In the game, I ran a RenderStepped so that the CFrame was always at the head of the player.

BUMPING!!! I really need to get this bug fixed :sweat_smile:

please help me ive been suffering for days now

try using tweens instead of lerp, or just set offset to (HumanoidRootPart.CFrame + Vector3.new(0, 1.5, 0)):PointToObjectSpace(Head.Position) without lerp.

The camera isn’t affected by animations, animating the camera has to be done with use of a script.

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