Distracting the Enemy AI
Published in
5 min readMay 17, 2021
Setting up a coin distraction
In our simple stealth game, we need to be able to move a stationary guard from his location so we can get past him. Luckily our hero happens to have a gold coin in his pocket. So let’s toss it on the ground and have the guards check it out.
Since we already set up Nav Mesh Agents on the guards we can utilize that to distract them. In the screen grab above, you will…