If so you can use tracing. It traces in front of character to check if there is a door. Though you should tweak the values to fit your character and level design. Making a separate trace channel for it is also an option