Hello, I’m trying to create a NPC that wanders in a building, but I don’t want to use Roblox’s standard Pathfinder Service, since it’ll just get stuck in between walls, or can’t find the exit when it’s too far away with obstacles in the way. I understand I could just use modifiers, but I think that’s excessive? I was suggested to use A* or djikstra’s pathfinding, but I’m unsure how to implement that onto Roblox?
The closest I was able to find was a pseudocode list for it here, but I never read pseudocode before, so I don’t understand it that much. A* Pathfinding
I’ll appreciate any advice on this.
1 Like
Like I said, it’s pretty buggy… I have to place modifiers all over the building for it to even work?
My point was 1. To clear up what Roblox has and 2. Tell you to search the forum.
Here’s one I found:
To find more:
Use the search button at the top right of this forum. Search “pathfinding” in the title, and in the #resources:community-resources category. There are a plethora of pathfinding resources
All community resources should be open source. Use them to learn/use.