How do I get speed to use in the animator?

  • A* version: [4.2.17]
  • Unity version: [6000.3.10f1]

How do I get speed to use in the animator? .linearvelocity.magnitude is 0 while navigation is in use.

Which movement script are you trying to use?

I’m using AIPath for 2D

Are you not using just velocity? AIPath doesn’t have a property for linearVelocity