Hi guys!
im doing a very simple AI, A square object (player) is being followed by B square object (enemy) in a maze like layout!
Im using the MoveTo behavior from Rex! my events are simple
System 0.1 sec
Enemy Square xy Moveto Player Square xy
im controlling the speed of the enemy with the distance how close and far he is from the player!
I would like to know how I can introduce obstacles in this case. Moveto have a option, Stop by Solid! which actually stop the enemy from moving! at the moment enemy object is not colliding with the maze wall! it passes through!
thanks