AI?

Where should I start when looking into AI for an enemy?

That is waaaaaaaaay to broad of a topic as there are literally mountains of material you might consider.

Enemies do things like path find, seek/flee, hunt/target acquire, do obstacle and enemy avoidance, default to “idle” or generic animations.

I’d say that something like path finding is a good place to start as it outlines how you go about implementing one form of decision making via AI. Check out what AngryAnt (Emil, a forum member) is doing by visiting this site and go from there. :slight_smile:

Also google for ‘FPS Tutorial Unity3D’. It’s for Unity 1.x, but it has enemy AI script that should still work(I’ve looked at it myself).

I’m not sure why folks think the old FPS tutorial is only available through Google searching… :slight_smile:

  1. Go to the Resources area on our website.

  2. Go to the Assets section.

  3. Notice the Unity 1.x Resources entry.

  4. Download the Complete FPS Tutorial for Unity 1.x.

And yes, it does have some simple AI scripts, as does the 3D Platform Game tutorial. Good call on checking those as they’ll help with basic target acquisition/aiming and that sort of thing.

They don’t. They just think that telling them to google is easier than going through the site. :slight_smile: