navcat docs
    Preparing search index...
    • Attempts to optimize the path using a local area search (partial replanning).

      Inaccurate locomotion or dynamic obstacle avoidance can force the agent position significantly outside the original corridor. Over time this can result in the formation of a non-optimal corridor. This function will use a local area path search to try to re-optimize the corridor.

      The more inaccurate the agent movement, the more beneficial this function becomes. Simply adjust the frequency of the call to match the needs of the agent.

      Parameters

      Returns boolean

      true if the path was optimized, false otherwise