OncomponentBeginOverlap not called

Hello everyone,

I’m trying to implement the OncomponentBeginOverlap in my c++ code. The problem is that the function seems to be only called when the object the trigger encounters is moving, and it’s called multiple times, if the object isn’t moving the function isn’t called at all. Any ideia on why this might be happening?

Thanks so much in advance.

EDIT: I found out this strange issue only happens if I set “Simulate Physics”. In this case the target object (a ball) only triggers the trigger if it is moving around.

Take a look at this article

Hi,
Thank you so much for the quick response.

I have set up my objects exactly as described but still, it only works when the target object is moving. i.e.: If the player with the trigger intersects a still target, it doesn’t work.

I can’t check this right now, can only point to this additional api doc. Maybe you lost some conditions… I think here is needed component’s setup of your ball actor.

Thank you. I already had checked that as well

This is an old thread, however, the answer for me was to check the box “Generate Overlap Events” in the collision section of the Mesh.