Help creating an AI maze solver?

I am making a maze game inspired by slender. Basically you wander a maze while the “slenderman” comes after you. I dont know how to create a ai that can come after your character by wondering through the maze, not just try to walk straight towards you.
The walls of the maze are just cubes.

1 Answer

1

Check this guy out. I made a playlist for myself as this contains everything you need.