I am not sure what the priority is here, and I'm playing on controller, but it is very inconsistent. Sometimes it targets thing that's near me and sometime far away even if I'm facing both things. Might be influenced my camera I'm not sure. But please allow an option where it targets the closest thing, regardless if you can see the full body or not or if you're facing it or not, based on the filters.