How do I detect collision between a static mesh and actor?

Hi, I have a static mesh component (a cone) on my player character. How do I get other actors to detect this static mesh when my static mesh bumps into them?

In details of your static mesh find OnComponentBeginOverlap and press ‘+’


It will add node like this


This event fires when your static mesh overlaps with something, then you can cast it to your actor. Other actor is overlapping actor.

Did this help you?

How do you do this the other way around? (as in, the actor detecting if a collisionbox is overlapping a static mesh