im not sure what to search for exactly,
so, im making a game where you build a fortress, i have the building system made/ GUI, but now i gotta make the pathfinding/AI for the character units/ enemy units.
i just wonder, if you use a navmesh or waypoints, would it automatically know that there is new obstacles?
i mean, id create a level… its a relatively blank terrain with cuttable trees and some impassable rocks, and id navmesh it…
the player can place walls and buildings that would be impassable, does the navmesh just automatically know that new impassable things have been placed?? does it automatically know where new solid objects are? … also, the player could make totally inaccessible areas, and the enemy would want to destroy the walls to get inside…
or are the units going to want to walk thru the new instantiated walls and objects? , and id have to explictly denote that the new objects are impassable, with code? or with tags, etc… ? … or i have to recalculate navmesh or something??
hmm… i have access to this one pathfinding method, where it raycasts to detect nodes, so if it cant see it, it wont go there… but its node based , what about navmeshes?
hmm, i suppose i WOULD want them to try to go thru walls, and they go to the wall, and if they collide with the wall, they start breaking it down, i guess thats one way to do it??
im really nooby at pathfinding… trying to learn
thanks for your input.