I have a maze with the main character and one (or more) enemy.
the enemy should run after the main character through the maze.
for the enemy's movement I used "bouncing ball" movement setting its directions ALWAYS to the player.
the result is that the enemy bouncing for all the screen.
how can I get what I'm looking for?
I took a look at ARTIFICIAL INTELLIGENCE tutorial but I did not understand how it works.
please, help me!