I'm attempting to write an AI that moves until it gets close to the edge of the room. I added obj_boundary objects around the edge of the room. Every Ship creates a collision line 100 px in front of the ship. For some reason, when approaching the border from the right, the algorithm seems to work, but when approaching from the left, the ship takes longer to switch states.
179.3 KB Views: 19