Collision problem

Hi, sorry for not replying for such a long time. Do you remember me? After our last conversation, I went on a business trip and just came back to continue my UE learning.

Here’s my question: I have created a damage area using a Static Mesh Actor as the parent class. I want it to behave like traps or lava in some old 2D games, where the player gets bounced back when they touch it. However, I don’t want the player to be instantly pushed away as if they stepped on a rock. I want the player to be able to enter a certain range within the damage area, and I also want to know the direction the player enters when they do.

I’m searching for the required event from the available ones. The first one that caught my attention is the “On Component Hit” event, mainly because it can provide me with the “Normal Impulse” and “Hit” information. However, I’ve noticed that if I make the relationship between the character and the damage area overlap, the “On Component Hit” event won’t be triggered even though the character can enter the damage area.


If I want to trigger this event, I found that the only way is to set the collision relationship between the character and the damage area to “Block”. This way, the event will be triggered immediately when the player collides with the area. However, in this case, the player won’t be able to enter the damage area, as if they were standing on a rock.

So I tried another event, “On Component Begin Overlap”. This time, the triggering and effect were as expected, but it doesn’t provide the “Normal Impulse” and “Hit” information.

So, do you have any good solution that can meet both of my requirements?