Basic AI (393740)

Hi, would anyone know where to start with really basic AI. All I need is to run some models forward across a very open terrain and have them attack one object. It would be great to see a very basic code sample that ran a model from a to b and attacked a target.

I have looked at some of the fps sample code and also angry ants behave and path. Behave and path are not currently compatible with unity iphone and may possibly be more than I need at this point.

Any help very much appreciated :wink:

look at aidepot and aigamedev for articles on state machines
thats likely what will do the job

Check out the scripts in the FPS tutorial. It does exactly what you want, me thinks.

http://forum.unity3d.com/viewtopic.php?t=26208&highlight=fps+tutorial