Opening a door when the player's cursor is over the object, as well as being inside a collision box

it depends on the acceptable value(degrees) you choose to start the door opening subroutine. When I made myself, I remember the dot product result of 50 degrees was a fine value, caught the actors even if it’s in a fragment of my screen.
In your case you can set a lower value, try testing what is fine for you.