I have been fighting with this for days and thought it was time to ask for help.
I have a bunch of animals which are using the RichAI script as well as the RVOController script on a nav mesh to path around the world. This works great with A* and the avoidance looks good, but I would like to turn their heads in the direction they are turning when walking around corners.
My first thought was using mecAnim and blending to a turning walk cycle. I set up the animation and added float "Direction" var to blend the turn but then couldn't find a way to get this information from RichAI script to turn it?
My second thought was to simply turn the head to face the next way point, however when I tried to get the next waypoint from the RichAI script, the position was up in the air and not in the correct place at all?
Can anyone suggest a solution to either of these problems?