First of all, the A* Pathfinding asset is awesome.
Secondly, I have characters in 2d that walks around (when clicked and then destination clicked). It searches for the best route from where the character is to where the mouse has clicked. But one of the obstacles is also a “hideable” place, so that if you click on the obstacle, the character enters it (what is an obstacle is actually “enterable”).
Is there a way for it to work that way? I have browsed the documentation but I have not found anything. Also I did not want to change the obstacle’s layer because even though it is enterable at that moment for a specific character, it is not for other characters and they should avoid it as an obstacle.
Right now, if I click the obstacle, it just walks to the upper point of the obstacle.
I appreciate any help!