How can I get started on making an AI controlled tank for the Tanks Unity tutorial?

I am a beginner at unity, I’ve just gone through and finished all tutorials up to the unity Tanks tutorial.
I wanted to change it from a 2 player game to a single player, with the other tank controlled by an AI.

Can someone please give me some clues on how to get started on making such an AI? I know it would have to have navigational abilities, but other than that, what goes into making such an AI controller?

Note: I am an good programmer but new at game development, so feel free to use code to explain anything.

Thanks in advance for any help!

Go for NavMesh, its unity builtin, perfect for your situation right now :slight_smile:
find the closest using unity distance, and target with navmesh, watch tutorials i’m pretty sure u’ll get them easily :slight_smile:
PS: try using co-routines for finding not the update stuff, because navmesh is very expensive with finding closest path