Overlapping blueprints

I have two blueprints. Let’s call them “Character” and “Golem”.

I’m trying to set up a simple combat system in which after clicking attack button character generates a sphere around himself. During that all character movement is stopped and the player can choose attack targets (body parts of enemies) within that sphere. The Golem blueprint has a collision sphere/capsule on each body part.

I’m struggling to make an array of body parts that are inside the character’s sphere.

Here’s what I’m trying to do. I can’t figure out how to check if the Golem’s components are overlapping with the Character’s collision sphere. Every node I tried so far resulted with false.

I’m a little confused as to if you are looking for a solution to find the overlapping parts or just build the array.

To build the array try dragging off the right hand pin on your collision component and select MakeArray as the option (type in the search box to get there quickly) , this will automatically set the array type for you.

191918-makearray.jpg

I’m having problem with checking if each of the Golem’s parts are overlapping with Attack Sphere from Character blueprint.

Now that I’ve read my post again - yeah it’s a little ambigous. Sorry

For overlapping components you need to make sure that

  1. Both components have collisions enabled
  2. Their collision flags complement each other

Attached is an image of example collision settings:

191919-collisionresponse.jpg

More info: Collision in Unreal Engine - Overview | Unreal Engine 5.2 Documentation

try using “on componnent begin overlap” instead of on actor begin overlap, because the first one tells what componnent is overlapping.

202184-asd.png

Pretty sure I have that set up correctly. Even if I don’t, setting collision to custom and ticking overlap on everything should do the trick, right?

What I don’t know is which function to use in order to check if the Golem’s component overlaps with Character’s component.

I had no idea that this event even existed, wow.

Thank you so much