Hi! I am wondering how I can stop a small stuttering motion after each move to is finished, Is there any way I could like make it move to the next point like 0.05 seconds before coming to a stop so there wouldn’t be that issue with the wait() where the animation stops. Thanks! Script btw
local path = game:GetService("PathfindingService"):CreatePath()
path:ComputeAsync(NPCToMove.HumanoidRootPart.Position, part.Position)
local waypoints = path:GetWaypoints()
local human = NPCToMove.Humanoid
if path.Status == Enum.PathStatus.Success then
for _, waypoint in pairs(waypoints) do
if waypoint.Action == Enum.PathWaypointAction.Jump then
human.Jump = true
end
human:MoveTo(waypoint.Position)
human.MoveToFinished:Wait()
end
end
Another way of phrasing this is how would i predict the time left before a humanoid has reached its goal. I’d just take that calculation and wait that but like a LITTLE less so that the animation is smooth.