Is the code set to automatically move nearby if the goal cannot be reached?


Looking at ex15, I saw that in 2d games, AI moved near the target even though it could not reach the target.
But the code I implemented was Error: Path Failed : The node closed to the end point could not be traverseed

here is my code

I thought partalpath works automatically, but is there anything I need to set up additionally?


p.s

My game uses various shapes of AI. 33, 55, and 7*7 shapes are being used. While looking for related data, I saw article in 3x3 Units, GridShapeTraversalProvider & Path.calculatePartial

The error message was changed to Error: There is no valid path to the target even after fixing it according to the solution in this article.