I am working on improving the capabilities of some NPCs in my game, and I've come across an issue. The game map has some doors that the NPCs are able to open to continue about their business, but PathfindingService doesn't know that they can open/close these doors.
I thought a good way to implement this functionality would to have a way of providing PathfindingService a list of items that should not be considered obstructions, but I've searched to no avail. Is there a workaround or some way to do this?
If possible, I'd like to not have to remove the doors on the server and add them on the client (a suggestion I've read before) as this would (as of now) be very difficult to implement. Thanks for any help.
You could simply take he npc's out of the doors collision group. I'm not exactly sure how to write a code out for you, as I can't see how your studio is set up. I think that is the only way to do this without having to create local parts for every single player.