I have to program a character to react to the presence of the payer within a certain area.
Surely I use some triggers to detect where the player is, and some global variables to know certain conditions (where the player comes from, what has he got since then, etc etc).
The question is: to make my character react, like move, run, escape, come near, and so on, do I have to use the "animation" set of actions (play, blend, stop, etc) or do I have better to add a character controller component and use a movement set of actions (maybe iTween, or maybe other ones)? In other words (given that I added a character controller), if I tell the character to "move to", will he start the walking animation or not?
What would you suggest as the proper way of doing all that's typically needed?