>>723747886 (OP)
well, kinda, its the only way for enemies to know what you're doing. but there needs to be a delay to account for realistic reaction times. usually thats just a flat number, but you could incorporate various factors like distance, anything obscuring line of sight, orientation etc. to make it even more realistic. most devs dont which is why it can feel cheaty