Is it just eulers number minus 5? Here is the tutorial I am following: Code (CSharp): // Update velocity if time advances if (Time.deltaTime > 1e-5f) velocity = smoothDeltaPosition / Time.deltaTime; bool shouldMove = velocity.magnitude > 0.5f && agent.remainingDistance > agent.radius; Full tutorial here