Making a Homing Projectile 2: Targeting Behavior
Published in
6 min readSep 27, 2021
In part two of the homing projectile duo of articles, I get into the meat and potatoes of the homing behavior. My objective for this article is to have the Homing Tusk target the closest enemy. I also want to have it find a new target if the current target gets destroyed, and resume normal straight ahead movement should no targets remain.