Pathfinder by A* algorithm working fine, the smoothing path algorithm is working excellent too.
The problem is: pathfinder grid is not equal to monster hitbox (collision range), the grid size and hitbox are two different things. My path smoothing algorithm is taking into account the hitbox range BUT it is doing so after the A* setted the path already. So what i'm supposed to do? I guess i should add checking the hitbox collision during primary A* is setting the path, but this seems kinda weird and hard to do, i feel like people are doing it differently, A* visualizations on the internet always just showing straight path, never took into account the collision range so i'm feeling like A* algorith on its own should only work on pathfinder grid, and all other factors should be fixed later, but it's seems so not-economy way i would have to calculate new path after found collision.
On the picture below shouldn't monster dodge the edge on circular curve? Any tip how to achieve it in economic way?
