Working on a follower system and been experimenting with different methods. This is my current one:
As you can see demonstrated below there seems to be some choppiness on the following mechanic which causes jumps. I was wondering if or how this could be corrected?
local Player = game:GetService("Players").LocalPlayer
repeat wait(.1) until Player.Character ~= nil
local Character = Player.Character
local PetObj = Player:WaitForChild("isPet").Value
local Distance = 5
local TweenService = game:GetService("TweenService")
local tweenInfo = TweenInfo.new(.5, Enum.EasingStyle.Linear, Enum.EasingDirection.In, 0, false, 0)
game:GetService("RunService").Stepped:Connect(function()
local tween = TweenService:Create(PetObj["Base"], tweenInfo, {CFrame = Character["HumanoidRootPart"].CFrame - Vector3.new(0, 3.5, 0) - Character["HumanoidRootPart"].CFrame.LookVector * Distance}):Play()
end)

