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.