and it works very poorly, and even though I marked the obstacles as “impassable obstacles” , the object moving just goes through them, to go to places that is not even needed to do so. I tried removing the animation but it still does not work. I don’t know what to do to fix it. I need this because I build my game over the isometric demo, and I cannot include path finding functionality.
Hi!
Can you update the demo with your pathfinding events and share the project with us through WeTransfer or any other hosting service? We’ll take a look.
Add behaviour of path finding to Minda (the doll).
Add obstacle behaviour to the obstacles
3)In the event of “Touch or left button is down”, add an action in “path finding behavior” to move Minda to MouseX("",0) and MouseY("",0) (as they do in the pathfinding demo with the tanks)
Run the game and you will see that Minda goes through the obstacles ( I do not care about having the correct animation when she is moving, I could do that with no problem)
Thanks!!
Note: For path finding you don’t have to hold the click, just click it once
It looks like yet another rotation bug. You can report it and @4ian will explain why it’s not a bug.
The pathfinding itself seems to work fine, but the obstacles are not detected properly (because of their rotation, I think).
There are a couple of gaps where Minda is able to cross, like clicking on the lamppost next to the stairs, and clicking on that island at the bottom right. If you add an obstacle where Minda finds a gap, the bugs stop.
If you take the pathfinding example and rotate and resize the obstacles, it gets messed up.
Either that or I’m missing something very obvious, I never used the pathfinding before.