enemy following

i have a main actor that i control and i also have an enemy that follows it based on x and y. the problem is when i make walls that are solid and i go behind it the enemy will go through it going straight at me. i was told a while back that i would need something, i dont remember what but i saw it implemented a while ago. anybody have any idea?
Sign In or Register to comment.