playMaker

Author Topic: NavMesh Agent Velocity to Mecanim  (Read 745 times)

intrikit

  • Full Member
  • ***
  • Posts: 132
    • View Profile
    • Defiant Child
NavMesh Agent Velocity to Mecanim
« on: September 12, 2015, 12:31:51 AM »
Hey guys,

I've read a similar topic here:

http://hutonggames.com/playmakerforum/index.php?topic=10245.0

But I thought I'd start a new thread. I need to get an Agent's velocity and turn it into a parameter to drive root motion in Mecanim. What is the best way to do this? I know there is a "Get Game Object Speed" as well as numerous NavMeshAgent actions. Some suggestions as to the best approach would be appreciated.

Also, I need to consider the agent turning around once a waypoint has been reached.