|Topic was automatically imported from the old Question2Answer platform.
I’m trying to get a path from one point to another, disabling points and getting a new path within the same frame when they don’t fulfill certain requirements. AStar2D completely ignores the disabled points, however, and provides the same path every time, which ends up causing an infinite loop (I’m using a
while loop for this, but I think it’s necessary here). I’ve noticed the points do get disabled, though - it just doesn’t seem to care.
await, on the other hand, doesn’t solve the issue at all as my pathfinding enemy ends up not doing anything. He doesn’t even get the path.
So is AStar2D incapable of giving me a new, different path within the same process frame or am I doing something wrong?