Opening doors both ways

Yes I’d want the door open the correct way no matter the way character is facing. So far I’ve made a trigger box and it’s working only if player enters it by moving forward. if the player enters the trigger from the side, then it starts opening doors the wrong way. I kind of solved that problem by adding narrow hall and frame to the side of the doors so that the only way to trigger the door is by moving forward