Scenario: A character needs to retrieve an item that is within a room with a door closed. It will not find a path because the door is an obstruction.
Goal: Doors are not seen as obstacles if their relation matches the characters relation (Ally/Enemy)
Issue: Physics, Line of Sight, and Pathfinding are all object-based not instance-based, so using a variable (Relation = Ally) is not useful for setting instances as obstacles, because any character can potentially be any relation, thus enabling a door for that object will negate the purpose of relations.
Any ideas on how to approach this issue?