I have an issue with the nav agent in my game. That I am using the remaining distance to determine the next state of the AI.
When the navagent is first given a destination it uses the previous distance until it is next updated.
So my plan is to find the memory of the remaining distance and alter it when I set the destination. Is that possible or is there a better way?