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!
Answer by anamta · Aug 04, 2016 at 06:38 AM
Go for NavMesh, its unity builtin, perfect for your situation right now :) find the closest using unity distance, and target with navmesh, watch tutorials i'm pretty sure u'll get them easily :) PS: try using co-routines for finding not the update stuff, because navmesh is very expensive with finding closest path
Your answer

Follow this Question
Related Questions
Unity2D Check which direction the enemy AI is heading? 1 Answer
Programmmed Animation (making transform move to vectors with code) 0 Answers
navmesh agent won't move on navmesh generated at runtime. 0 Answers
Navmesh, need an destroyable obstacle which will remove it's entity in terms of NavMeshPath 2 Answers