hi, im following the tutorial but my character isnt stopping when its inside the 2 metre range and i have no idea why
A few quick things to check…
If the character is stopping, but just too deep inside the 2 meter range, check your NavMeshAgent settings, and set your stopping distance to 0, and make sure the auto braking is checked on.
If the character is just continuing and spinning in a circle, make sure that the variable in mover for the stopping distance isn’t too small.
If this still isn’t a fix, paste in your Mover and Fighter scripts. You can format the scripts by first typing a line with ``` (those are three backwards quotes, the one next to the 1 key in the upper left of the keyboard) and then on the next line pasting in the code. type ``` again on it’s own lineto close the code.