August 2018
Beginner
334 pages
10h 19m
English
We have the finite-state machine system that is the animator engine. First, we create the states and transitions that the agent will have. Second, we create our own behaviors deriving from the StateMachineBehaviour class, and attach them to the corresponding state. Also, we retrieve information needed from our game objects and script components to make decisions inside of each state. If required, we call the proper trigger to change states, thus changing the agent's behavior.
Read now
Unlock full access