So I have a set of characters who have sphere colliders parented to various joints to detect attack collisions. For example, one attached to the head, the arms, legs, etc. Each collision is managed and stored in an array.
The issue I am currently having is when an attack hits a character, the attack is triggering once for each separate collision on the character. I want the attack to detect only the first collision it touches on the player and ignore the rest.
How can I do this?