2D Grip Graph System AI Moves Elastic

Hi everybody,

I’m working on a 2d grid graph system. When I move the target everything works fine. AI draws path correctly around the obstacles. It also follows the path, but when doing it AI object does elastic movements. When it changes direction it goes out of the path line for a little bit and makes an elastic turn then follows the path again.

I want to keep AI on exact the debug draw of the path. Like a train movement. What should I do ? Waiting for your help, thanks!

Hi

Try the AILerp movement script instead (see the example scene called 2D). The AILerp movement script follows the path exactly.

Thanks it works :slight_smile: