Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How to move NPCs in a straight line?

I’m making a tower defense game and I made a for loop where the NPCs use MoveTo() from path1-path10 the problem is that I when the NPCs get to a point, they don’t fully stand on it, making them walk diagonal to the next point. Is there any fix to this?

Edit: would I have to move path1-path10 back a little?

2 comments

0

I don't know what you mean by "they don't fully stand on it".

0

"The reach goal state of a humanoid will timeout after 8 seconds if it doesn’t reach its goal." Is it taking longer than 8 seconds for the NPCs to reach the point that you set for them to walk to?

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.