Hello everyone,
I want to play a walk animation if a unit is pushed aside by local avoidance. Unfortunately I am uncertain on how to check the movement and the direction. The behavior which I desire is something like the unit which is pushed aside turns into the direction of movement and plays it’s walk animation. Currently the unit just slides to the new position.

The priority will be changed through a script. When a destination is set the priority will be set to 0.7 and if the destination is reached ist will be reset to 0.1 .
Thank you in Advance.