Need a Basic AI Script for Unity 3.0

I have no experience with making AI for Unity. I’m looking for a script for a “duck hunt” type of game. I just need the target to walk from the spawn point (point A) to destination (point B) while avoiding objects along the way. Later I plan on make an addition to the script that would let me change the forward speed of the target upon being “shot at”.

I’m mainly an Artist and have very little exposure to programming so any help would be greatly appreciated. I do know that what sounds simple could turn out to be a nightmare. So if you could show me a script that will work or point me in the right direction that would be nice too.

Thank you. :slight_smile:

Heh, i wish it was that easy man… i really do. Even a pre-made AI package is sometimes a beast to get set up… so fair warning there.

Having said that though, look into these:

UnitySteer: http://www.arges-systems.com/articles/274/unitysteer-2-2-released/

Path: http://angryant.com/path/

Aron’s A* (this is what I use for pathfinding): A* Pathfinding Project

Rain{One} (don’t know much about this one: RAIN{one} | AI | Unity Asset Store

hope that helps.

Download this:
http://www.arongranberg.com/unity/a-pathfinding/
Source:

Look at the example scene. You will need to change the position of the target of the Seeker script once your duck has reached it. There are some tools for unity but anway you will have to code mostly by yourself.