Download

Can I check overlaps against occluded actors?

I’m experiencing a somewhat strange behavior: when I use ComponentOverlapActors to get a list of actors that overlap a component, I notice that some actors, seemingly ones that are being occluded from view i.e. not visible from the camera are not getting returned in the list of overlapping actors by the ComponentOverlapActors function.
I’m using a custom object channel in ComponentOverlapActors.

Does UE4 not calculate overlaps against occluded actors by default? Is there something I should change to get them to show up in the results of ComponentOverlapActors?

I’ve also tried using AActor’s GetOverlappingActors (C++) to no avail. When I rotate the actors by 180 degrees it works. Is this a bug?