I would recommend doing a TraceSphereByChannel
from Enemy character to Target Character (Player) before attempting to fire. If the first hit is player, go ahead with attempting to fire, but if it is a wall, do not fire.
I would recommend doing a TraceSphereByChannel
from Enemy character to Target Character (Player) before attempting to fire. If the first hit is player, go ahead with attempting to fire, but if it is a wall, do not fire.