Humanoid:MoveTo stopping before part

what if you try checking if the magnitude is greater than 0 instead of 1.5? as i’d assume that would make it so the npc is fully within the part before moving again.

I have updated code. I’m now using:

repeat 
	humanoid:MoveTo(pathPoints[point].Position)
until(humanoid.MoveToFinished:Wait())

Which bypasses the 8 second limit but the stopping before reaching end problem still happens.

repeat 
	humanoid:MoveTo(pathPoints[point].Position)
until(workspace.Rig:GetPivot().Position == pathPoints[point].Position)

replace workspace.Rig with the npc your using, this should fix your issue.

They all pile up at the same spot so they just never stop RIGHT at the position they are supposed to go to.
Screenshot (294)
This is a screenshot from a little before but the same problem.

Screenshot (295)
It worked when I moved it 1 stud away. It looks like they stop so they don’t hit the part?

1 Like

is CanCollide turned off the parts? as when i had it on, the npc started climbing it lol, glad you were able to figure it out tho, good luck with your game!

Yes, CanCollide was off. And thanks!

alr then, no problem! (abcdefghijklmnop)

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