Opening doors both ways

Get door forward vector and player forward vector. Make branch condition and thats it.
Depending on door rotation you may use forward or right vectors for door.