MoveToFinished:Wait() delay

I posted a similar topic before but there is also another problem, how would i move npc to current waypoint each frame without the rig rotating constantly because i wrote a similar script before and my npc keeps rotating constantly and stopping

maybe just wait until it gets near the waypoint

which is when

local GOAL_DISTANCE = 5
local isNearWaypoint = (npc.Position - goal.Position).Magnitude < GOAL_DISTANCE

ok nvm i found the solution in my other scripts

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