There is BeginOverLap, and EndOverlap, what about currently Overlapping

Is there a built in node or list of currently Overlapping Actors from a Collision Sphere?

Or, do people just do it themselves always by putting an Actor on a list and then removing it when it ends overlap? I just don’t want to reinvent the wheel if there is already something that’s built in.

Indeed there is a build in node called Get Overlapping Actors :stuck_out_tongue: which returns an array.

Thanks, that’s perfect :wink:

If it’s the kind of thing you want to know every tick, the best thing to do is to set a bool (is overlapping?) on BeginOverlap and then set it to false on EndOverlap. Get overlapping actors will work fine for most things, but it’s not very performant to keep checking it every tick if you don’t need to.

I haven’t checked the code or test this but isn’t the overlapping list gathered per object anyway when the overlaps are on?
If so then there shouldn’t be a significant performance hit with the Get Overlapping Actors node.
I do recommend to deactivate the overlaps when they are not needed though.

Ah, that’s a good point.