#Why is my astar going to a node that isnt a neighbor?
1 messages · Page 1 of 1 (latest)
no? theres no errors
U sure?
There’s something wrong with your logic
Zoom out and take another pic and explain what your making
What is it
Show the error
Yeah cause i couldn’t find anything wrong and the only thing that could of maybe done something was the current variable
the path kept going even after the end was found
why tf
You didn’t set up a way to stop your Delay loop
nvm
yeah
nvm
i just pet the if current equals end to cancrl delay
it worked
it only went thru one wall!!
Why is my astar going to a node that isnt a neighbor?
new problem, my pathfinder is going to node that isnt considered a neighbor, even tho the for each i have checks all its neighbors
it is getting to the end tho
when in doubt log it out. start logging things, make visuals of what the circuits are doing

okay good idea
Just throwing an idea out there, when going through the "path" highlight the current node, and any neighbors. Give each a different color.
not each neighbor, but current node is red and neighbors are blue for examble
stevy your a genius
while its pathfinding its getting a different path then from the actual list i made
its pathfinding correctly but the order in the list is wrong
also i made it flashy