The evade behavior

Evade is to pursuit as flee is to seek. Like pursuit, the evade steering behavior is attempting to determine where the obstacle you are avoiding will be, and moves as far away from that point as possible. In other words, it takes the same point we found in the pursuit behavior and then runs away from that point. The next diagram depicts the evade behavior:

The evade behavior