Pathfinding door

I have doors without collision on the map I want that only the good units would enter those doors, and if possible it should be done be pathfinding with the navmesh how do I do it?

You can use navlink with custom “Area Class”


“Filter class” in Move To on behavior tree

More harder than that but yea its possible thanks.