I’m trying to interpolate the camera to follow a target part, which works great at low speeds(for the most part), but trying to follow anything going at a decent speed causes the part to appear as if it’s stuttering.
Here’s some examples:
Camera following player at 16 WalkSpeedhttps://i.gyazo.com/fd42b530457c77ab0ca10c4050116904.gif
Camera following player at 100 WalkSpeedhttps://i.gyazo.com/05ed543685913de8892ab52d99935b87.gif
Camera following kart at 100 SPShttps://i.gyazo.com/e597ca585553b301871e3e32c7d7e166.gif
Here’s the code:
local camera = workspace.CurrentCamera
local head = game.Players.LocalPlayer.Character:WaitForChild(“Head”)
camera.CameraType = Enum.CameraType.Scriptable
I’ve tried interpolating at lower speeds, but no matter what I still get stutter. I know the part isn’t actually stuttering though because when I use RenderStepped and set the camera’s CFrame to the head’s CFrame it looks fine:
Camera stuck to head with RenderSteppedhttps://i.gyazo.com/c9ab756d276be5bfda9dfe9e4c8b70cd.gif
Any ideas on how I could go about interpolating the camera without stutter? I’ve tried using a part with a BodyGyro & BodyPosition, but that has the stutter issue as well. Also, some players have complained about how the part would lag too far behind on their computer, which means it wouldn’t be optimal for lower-end pcs, which is why I want to use :Interpolate().