I’m working on adding a new feature to my game that is requiring me to work with the PathfindingService. I don't know what to do here. I have many doors in my game, and I want to make it so that my ai can pathfind towards its target. This may require it to go through many doors. I can make the doors open when the ai gets near them, but how would I get it to try going through the doors instead of bugging out because it can't find a path?
COMMUNITY QUESTION
Ignore specific parts when pathfinding? Make AI ignore doors?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Create a path as usual, but put the doors in ReplicatedStorage while the path is being generated maybe. I don't use PathfindingService, another thing you could do is set the doors collision off (client-sided) so that the pathfinding can predict.
I don't know if it changes whilst moving but I'm going to just try to help.