I’m trying to use the “Get Actors in Selection Rectangle” function to get the actors currently on screen with a first person camera. But it’s behaving weird and giving me the actor when it’s clearly not on screen. They can be completely behind me and still detect it. Rotating the camera makes it detect the actor at random actors. Anyone know what is going on with this?
It’s probably caused by components expanding your pawn’s/character’s bounding box to beyond what you’d expect. See my answer to https://answers.unrealengine.com/questions/85782/get-actors-in-selection-rectangle-doesnt-work.html for a possible solution in c++.