greets

lol Im still on pathfinding, yep.

To detect obstacles and make the grid I used to make a massive loop wich one cell object detected obstacles and sended the information to the grid in relation to its position.

now this method is pretty unstable as sometimes doenst work properly + engines with this method seems to be slowed.

question is, in a game with a pretty large map (around 400x400 cells of the grid or so) since wouldnt be possible to set manually each cell as obstacle or not, how you experts would set/detect each obstacle into the grid?

in theoric terms, or in a past tutorial I've missed out.


thank you