Seamus Donahue
Seamus Donahue
I think i have the same problem. basically I reference p[0] where p is the result of astar.search(pfGrid,start,end) referencing p[0].x gives the error.
interesting idea but with the way it values the cells, the path would just go backward and never arrive at your destination.
ps: this applies to the "Enhancement" label but i'm too dumb to know how to apply it to the issue in order to mark it properly :P
I'm having this problem but I'm using a script tag with a link to the script. is there any way to reset the closed nodes outside the script?