Finite State Machine for A.I. in Unity

Jared Amlin
Geek Culture

--

Using a FSM (Finite State Machine) is a great way to separate behaviors for your enemy AI. You need to figure out all of the various scenarios that your enemy could encounter, setup a state for each, and then have different behaviors for those states. Each state change will have a condition that needs to be met before transitioning states, but then you have a well rounded blue print for what the Ai will do under the given…

--

--

Jared Amlin
Geek Culture

I am an artist and musician, that is currently diving headfirst into game development with C# and Unity3D.