Hi everyone,
I’m working on a Blueprint-based actor in UE5 and trying to trigger an event when it collides with another object (e.g., the player). I’ve enabled “Generate Overlap Events” and set the collision presets, but the OnComponentBeginOverlap
event is not firing.
Does anyone know what I might be missing? Is there something else I need to configure for collision events to work properly?
Thanks in advance!
Hey @ety42211!
For an overlap event to be triggered, both actors need to have the Generate Overlap Events
property enabled.
However considering your objective:
Sounds like you wanna detect when the character hits another actor. If the capsule component cannot go through your selected classes, no overlap will occur even if both actors have it enabled. So if that’s the case, you might wanna use Event Hit or On Component Hit instead. Tho if you need to use the end overlap event for a specific reason, check out this post of mine
Hope this helps!