Download

Check if component is overlapping

Hello everyone :slight_smile:

I wanted to know please if there is a blueprint to check if an actor or component is actually overlapping any other actor or component please ?

Because i have a BP to let the player build buildings, but i don’t want him to be able to build the “house” or anything else into another mesh, or BP or what else…so i’ve used this :

Pretty simple…maybe too much, because the problem is that when the actor is already overlapping an object, then he overlap another one too, but at a certain time he doesn’t overlap the first one anymore, the event “ActorEndOverlap” trigger and the actor can be built even if the second object is still overlapped.

Thank you everyone for your precious help. :slight_smile:

Have you tried the “Get Overlapping Actors” node?

Sorry for my delay, don’t have many time this days !

Thank you for your help, i think it’s gonna be okay with this node, i’m going to try it now :slight_smile: !