Opening doors both ways

Check if it’s facing the door or not by using the door’s and the player’s forward vector in the calculations.

Hope it helps!