Bomani/AIGE_03 — pull request #4 by gmb9280 (2014-04-02 02:59:30+00:00)
Title: Fixed Navigation Issues with Villagers 

and finished tidying villager code. Villager code can be fluidly extended and added upon.

Notes about this:

Villagers now have a NavigationAgent component. This allows them to interact with terrain and use the built-in path finding.

Villagers have two ways to seek things: a GameObject target (for following) and a list of Vector3 points (for paths). Right now I just have them seeking random points, to prove that it works, but it DOES work. They go very fast, but since the base work is done it should be easy to tweak.

Side note: They go so fast now that werewolves don't stand a chance. I really need to get werewolves back up to speed, so to speak.

More to do: Behavior and detection things like following the mayor, avoiding wolves, etc. However these should be integrated into whatever Behavior Tree-type thing that we want to do instead of the base class, so I believe it is for the better.

Prioritize?: Figuring out how we want to do behaviors.