Creating a brain
So far, we have a very basic binding between an agent and an animating mesh. Now, we are going to implement two different approaches that will help us have the decision logic control the agent's animated state machines.
Approaches for mind body control
The two main approaches we will be implementing are direct control over the ASM by the agent, where the decision logic can directly control which state the ASM transitions to, and a second approach where the agent issues commands to another system that is responsible for figuring out which animations are appropriate to be played for the agent.