Opening doors both ways

Are you worried about which way the character is ‘facing’ or where the character is… ie: What if the player backs into the door… you will want it to still open the correct way no?