So I’m doing a simple animation where the player gets jumpscared if you get too close to a corpse. On the server side when it plays the animation for the PLAYER, it looks completely fine (keep in mind, I just switched to server in-game when doing this) but when I go in first person… this happens:
FIRST PERSON
SERVER SIDE
It spins SO fast and I have NO clue why. It could be because:
- I'm using RenderStepped so the camera sticks to the head when playing the animation
- I'm using a custom script that lets the camera follow the head of the player
- A problem with the animation itself?
Please help me my brain has been hurting for a while now
1 Like
If anyone wants a snippet of the code I used for the camera, here it is
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)
Thanks to Haystees for the snippet
pleas ehelp (boosting so i can rest in peace)