- Home /
A* pathfinding, Re checking nodes
At the moment, I am using the A* Pathing found here
Now, perhaps I am going about this the wrong way, but I set up a new function for closed nodes. Maybe Invalid nodes are the same? I didn't think they were, but my question is. When choosing closed nodes, and an object moves making one node from open to closed how would I go about updating a single node?
For Example: If a building collapses, I now want to be able to walk over it, instead of around it.
Answer by Hayden-S · Aug 03, 2013 at 10:49 PM
Hi, Just thinking out loud, maybe the building could have inactive nodes in it (at the crumbled point), and are active when the building is destroyed, or a few seconds after?
Hope that helps!
Yah I think I figured it out. I might change to a different method of A*. Or just find change back to nav meshing. I don't know just trial and error i suppose.s