#PathFindingService problem
1 messages · Page 1 of 1 (latest)
show your path settings
i think i had somewhere same issue
local goal = Vector3.new(math.random(-offset, offset), 0, math.random(-offset, offset))
local path = pathFindingService:CreatePath()
path:ComputeAsync(hrp.Position, goal)
local waypoints = path:GetWaypoints()
if not panikMode then walkTrack:Play()
else runTrack:Play() end
for i, waypoint in waypoints do
humanoid:MoveTo(waypoint.Position)
humanoid.MoveToFinished:Wait()
end
heres the pathFinding part
do not mind the if not panikMode thing
this hapenned to me in a difrenent game as well
put WaypointSpacing
fixed mine
i just put it to humanoid.WalkSpeed*6
cuz moveto stops after 7s
https://devforum.roblox.com/t/pathfinding-stuttering-lagging/2211427/3
i meant to send this here
It’s likely because of network ownership issues. It will bounce between both the server and client, which will cause it to stutter. Add this line into your code, right after the variables: character.HumanoidRootPart:SetNetworkOwner(nil) Setting it to nil with the HumanoidRootPart will prevent it from bouncing between the two, which should ...