Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: intrikit on September 12, 2015, 03:31:51 AM

Title: NavMesh Agent Velocity to Mecanim
Post by: intrikit on September 12, 2015, 03: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.