Humanoid:MoveTo() is not precise enough

Hello devs,

Today when I’m using Humanoid:MoveTo(), I found that the NPCs will stop when it kind of reaches the destination, but is not very precise (like probably it has an offset of 0.3~0.7 studs when it stops moving). I’ve also implemented a system where NPCs will still move even a 5 second timeout is reached, so the issue is not related to the timeout

Is there a way to fix this? Any help is appreciated!

I think you’re much better off using humanoid:Move() instead as it has no timeouts, and creating your own method that checks if the goal has been reached for stopping

2 Likes

do you mean it stops a bit before it reaches the destination? then just lerp another .5 studs.

1 Like

I mean it ‘did’ reach its destination, but not completely (there is a small offset when it finished moving)

It helps, thanks a lot!

lemme use this sentence to reach the minimum word count

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