Here’s how I solved the challenge:
private void SetForwardSpeed() {
float forwardSpeed = navMeshAgent.velocity.magnitude;
animator.SetFloat(“forwardSpeed”, forwardSpeed);
}
Is there any problem with how this in implemented? It’s quite different from Rick’s solution. Wondering if I’m missing something. It seems to work OK.