Retrigger On Component Begin Overlap

This might be a silly question but is there a simple trick to retrigger on component begin overlap events?

I need to launch the overlap event again, if a variable changes and want to know if there is a simpler solution than storing the overlapping components in variables and create a custom event that fires on the actual overlap and again, if the variable changes

there is a function node for getOverlappingActors.
I guess the engine stores an array of overlapped actors for you.
You can access this node whether or not youre using the overlap events.

So when that variable changes you can use that node to find the overlapped actors so you dont have to worry about the overlap event. If you need to though you can plug execution into the same code the overlap event plugs into.

thanks for the information. I just heard in a live stream, that “getOverlappingActors” costs more performance than a line trace. Maybe I’m mistaking, since it doesn’t seam that logic :wink:
I leave the topic open for now since I was looking for another solution like disabling and reenabling collision or something like that. I’ll test some things…

The way I handle it is to add the overlapping actor to an array in event OnBeginOverlap, and remove it for onEndOverlap event, and then I have an always-up-to-date list of all the actors that are still overlapping that volume.

Really though why are you trying to retrigger an overlap event? Why not just trigger the same function that the overlap event triggers?