Reply To: move to problem/bug

Forums 💬 NodeCanvas ⚙️ Support move to problem/bug Reply To: move to problem/bug

#18542
markusr
Participant

    hi Gavalakis,

    not
    agent.remainingDistance>=0f

    this may fix it
    agent.remainingDistance>0f

    i used to compare the behave

    i think for one cycle the remainingDistance stay at 0 and is not calculated.
    maybe its a sideeffect from resetpath usage.
    at !agent.pathPending i expect a Distance in remainingDistance