Use a 33/66 ratio based on the player's direction to determine on which side the player should be placed when closing the door.
Now it is 50/50 (closest side from player centre). We want it to be 66/33 in favor to the direction of where the player is looking (prefer to push face in front of door instead of the player's back side)
Use a 33/66 ratio based on the player's direction to determine on which side the player should be placed when closing the door.
Now it is 50/50 (closest side from player centre). We want it to be 66/33 in favor to the direction of where the player is looking (prefer to push face in front of door instead of the player's back side)