This Is as close as I can Get to an accurate AI for Worm Type Bosses feel free to use it in your own projects. WASD to move character and the worm will chase and then stop for a bit then resume
deck26 for the Gradual turn code Levi_Hankenson for the idea of making each segment progressively get slower