Hi I am having an issue where units dance back and forth before reaching their target. They will eventually reach it, but not not before a lot of backtracking for seemingly no reason. An example of it is shown here:
At 12.52 these units
Move back for some reason, and does that several times. It is like the unit is blocking itself sometimes, and thus trying to go back to see if there is another way past.
Here is how my setup looks on a similar unit:
Could it perhaps be because I have a 2 circle colliders on the unit: 1 is the same size as the AIPath radius, but the other is much larger. In terms of this:
" Make sure that any children colliders do not extend beyond the bounds of the collider attached to the GameObject that the [DynamicGridObstacle] component is attached to since this script only updates the graph using the bounds of the collider on the same GameObject." I don’t think so however, as the larger collider is only a trigger and not blocking anything.
Is that relevant here and perhaps causing the issue, or am I doing something else wrong?