AI Programing Resources

Hello Everyone!

I've been trying to program some AI for my game, but since I have not the slightest idea of how to start I epically failed so I was hoping someone could point me in the direction of some good AI programing resources, all help is greatly appreciated :D

AngryAnt now of Unity has some excellent plugins available for performing AI inside unity. You can find them here. There are also some extensions to it available from here at Arges Systems. Their libraries are based on Open Steer.

This will likely sound discouraging, but AI is a non-trivial topic. If you wish to start getting an idea of the depth, you may want to peruse the public section of AIGameDev as well as the many papers referenced on its wiki.

Having said that, it'll help if you have a good idea of what you want to do, and if you keep it as small as humanly possible. Doing AI is kind of like saying making a game - it's too broad.

Update: two recent resources linked on AIGameDev are Intel articles called "Designing Artificial Intelligence for Games". Here's Part I and Part II. Both seem rather general at first glance, but might be useful as an introduction.

there is a really good book in this topic that i recommend everyone to read. programming agmes AI by example this book has no C# code and uses C++ class templetes. you can use generics and easily convert code examples. also it uses boost library but you don't have to use it.

Here's a pathfinding project for Unity

to make those AI’s not to walk into walls and look stupid ; )

A* Pathfinding

RAIN is a, free, complete solution for adding pathfinding, movement, sensing, and behavior to Unity projects.

To download RAIN, just click the link and follow the instructions to get the right version. RAIN:

We have a lot of support resources to help you create characters that drive your story’s narrative.

FAQs to learn more about RAIN as well as other answers

Email me if you have any questions.

Not sure if you’re still looking, but xaitment just launched two plug-ins for Unity and Unity Pro: one for pathfinding (xaitMap), and one for creating state machines for character behaviors (xaitControl). You can find info at


If you are still in need of a great AI system, I just wanted to let you know about AI Behavior Made Easy in the Asset Store. You can create and easily modify dynamic AI Behaviors for your game projects with one simple tool.

There are 12 AI Behaviors ready to go, to be combined, added to, and duplicated to do more. With the advanced system release on the AI states, you will find it easier than ever to give each of your characters their own personality and behaviors.

Be sure to read up on the links for more information.

Hope this helps!

Forum Link

Asset Store Link

Behaviour Tree (BT) is versatile tool to implement AIs, it scales very well as your AIs get more complex. Have a look at, it’s a scripting framework based on BT.

If you want to learn more about BT, here is a list of ressources.

Dave Mark wrote a great book that digs into a lot of the math you might use for decision making called Behavioral Math for Game AI that I’ve gotten a lot of mileage out of. It might be deeper then an introductory level but is an accessible read and a good foundation