Camera Bugs when tween


As you can see in this video, every time I tween HumanoidRootPart this weird shake happens. Does anyone know how to fix this?

	TweenService:Create(plr.Character.HumanoidRootPart, TweenInfo.new(2, Enum.EasingStyle.Quint, Enum.EasingDirection.Out, 0, false, 0), {Position = Vector3.new(X, Y + 8, Z)}):Play()

Thanks,
-Shipy

This is due to Physics Interacting with the Player During Tween, Anchor all Player Parts, then once the tween is finished, unanchor them, should fix it

local T = TweenService:Create(plr.Character.HumanoidRootPart, TweenInfo.new(2, Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {Position = Vector3.new(X, Y + 8, Z)})
T:Play()

T.Completed:Connect(function()
-- When tween is completed
end)
4 Likes

Try anchoring the HumanoidRootPart

if it’s in a LocalScript - use this: game.Players.LocalPlayer.Character.HumanoidRootPart.Anchored = true

2 Likes

It’s because your character is falling due to physics. For some reason, physics is still active on parts when their CFrame is being constantly set every frame because of Tweens. So all you need to do is anchor the humanoidrootpart as you tween it. This is not a camera bug.

1 Like

you just have to anchor the hrp since anchoring all of them would stop animations

Thanks, i realized that earlier

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