I have a system in my game for characters who follow the player around. The followers have an AIController that creates navigation points every 0.1 seconds wherever the player is, then does a MoveTo the oldest navigation point, removes it when reached, and then goes to the next navigation point. I’ve never really been satisfied with how it works. I feel like the MoveTo function is kind of imprecise and maybe the 0.1 second timing between navigation points can sometimes leave followers stuck on things. I’d like something more like this:
I think the follower follows exactly in the player’s path, just slightly delayed.
How would you go about making a follower system that moves the followers exactly in the player’s path?