Calculating AI Chase Distance

When I first followed the video and made the changes to the scripts in the Calculating AI Chase Distance, When I start the game the enemies will sit there and wiggle. They are stuck in a continuous loop of attack - stopAttack. I’ve went through the course three times and end up with the same results.

Post your AIController.cs and Fighter.cs and we’ll take a look.