Well, here I would like to take up the following issues:
- There is no character interaction with a door (simulation of player opening the door and closing the door)
- Animating the doors themselves is a bad idea, because of following reasons:
-It pushes the player (you) when you open it when it also opens towards you
-You may sometimes get stuck when you open the door and when there is the corner near it basically pushes you into the corner, you become locked up!
-Even more rarely you can get killed by a door (or in the stressful battle situation far more often)
Watch video --> https://youtu.be/37rypqUOLPo
Since game already uses PhysX, make doors freely rotate on it's axis. Make so that when player wishes to open the door, player turns handle and pushes it with the hand, it rotates wide open, freely like physical prop.
When closing the door, there should be animation (no matter how much door is already open, 40% or 100% would be nice for hand to snap to handle regardless it's position and animate player actually close it) for closing the door and locking it so it won't rotate freely any more, when you will try go through it without specifically interacting with it again to unlock (basically, simulate a real life door and how humans interact with it in real life).
This feature is amazing because players will not be pushed by doors anymore!
It will be later easy to implement "Bash door" ability, I think bashing doors if you want to enter room fast would be a nice feature (but bashing will break the handle lock, so the door will not close any more)