Check specific actor that is overlapping the player

Hello, I would like to check for a specific actor that is currently overlapping the player.

In the ‘other actor’ it should check the asset that the player is overlapping from the hierarchy in the level but it does not seem to work as my boolean does not return true.

Hey, first I have a question does the other actor have a collision?
if yes try going into the BP of the object you want to collide with and check if generate overlap events is enabled.

how is your bp setup what components do you use?

I made a quick BP hope it helps you.

You always need some kind of collision in your BP which is overlapping to receive any overlap events.

give your actor a collision primitive and click on it to show green box event (on overlap) down the bottom right screen
normally you use begin overlap from the other actor /component output and hook up your actor or component ref.
I have never seen it used like this with a actor position location before

1 Like

I don’t know if it’s really what you are looking for but you can check if the said actor belongs to a class. Get your “other actor” node and plug it to a “get class”, from there get a “==” node and do your test.

Yes, I used Agln’s method for checking the type of object that is overlapping with the “get class” function. Thanks to all for the assistance.