Maybe you could also look into splines? I’m not sure what your game is about and how your AI needs to move.