#Why is my astar going to a node that isnt a neighbor?

1 messages · Page 1 of 1 (latest)

hasty stone
#

Because your CPU is erroring

wraith swift
#

no? theres no errors

hasty stone
#

U sure?

wraith swift
#

100%

#

only 1.76 cpu

hasty stone
#

There’s something wrong with your logic

#

Zoom out and take another pic and explain what your making

wraith swift
#

astar lol

#

nvm error in the system i made

#

im not sure how to fix it tho

hasty stone
#

What is it

nocturne tangle
hasty stone
#

Yeah cause i couldn’t find anything wrong and the only thing that could of maybe done something was the current variable

wraith swift
#

why tf

hasty stone
#

nvm

wraith swift
#

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

ionic nova
#

when in doubt log it out. start logging things, make visuals of what the circuits are doing

wraith swift
#

log what?

#

The path?

ionic nova
wraith swift
#

okay good idea

ionic nova
# wraith swift log what?

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

wraith swift
#

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