We dont have to define each and every cell in a grid as open or closed - we only need to hold table of what cells contain an obstruction - treat nil as open space.
This demo shows that we can use an unbound sized grid for pathfinding and the only factor involved in it's performance is the length of the path itself.
Playing
0
Visits
7
blakdeth has no creations.
Starting Roblox...
Connecting to People...
Check Remember my choice and click in the dialog box above to join experiences faster in the future!
Thanks for visiting Roblox
1
Click RobloxPlayer.exe to run the Roblox installer, which just downloaded via your web browser.
2
Click Run when prompted by your computer to begin the installation process.
3
Click Ok once you've successfully installed Roblox.
4
After installation, click Join below to join the action!