How to make pathfinding ignore parts

So I’m making a horror game and I have killers that pathfinding to players and kill them. There are doors in the game that players and killers can open (Killers have to touch the door) and I was wondering how to make a killer pathfind through those doors as people can trap the killer in a room with a door and the killer can’t open the door because they have to touch it and pathfinding service won’t allow the killers to generate a path through the doors. I have tried pathfinding modifiers but the passthrough property only works in studio. How do I do this?

1 Like
1 Like

I already said pathfinding modifers only work in studio

It would be easier to make your pathfinding script know what kind of objects to avoid and navigate around. In the case of your door, you would name any objects you want the AI to register as “Obstacle” and then write the script in a manner so that it only registers objects with that name. Then simply name the door something else and the AI will ignore it! Otherwise you’re in for some major headaches every time you try to add decorative models.

Also see Collision Filtering | Roblox Creator Documentation if you’re unfamiliar with that