- Home /
I have an 3d Enemy and has basic movement AI but how would I have the enemy stop and attack the player
So I have a enemy it is a NavMeshAgent and right know when I hit play it walks to the player and then stops I would like it to attack the player I was thinking like if stopping distance reached then attack lol plz help
Comment
Well yes actually another problem I have come across is once the movement stops it does not continue if the player leaves if that makes sense