I want to set on component begin overlap on the body (skeletal mesh) of Metahuman.
And I want to implement different processing for each bone of the body, but I don’t know how to realize it, so please let me know.
Ex: overlap on hand_l → print string(‘hand_l’)
As for what I have tried,
I set “get bone name” to the other body index of “On component begin overlap” and printed it out with print string, but it came out as “None”.
2. to investigate the cause of the above, I directly output the Other Body Index as a print string, and the result was -1 no matter which part of the body overlap occurred.
Okay, looking at your graph, I think I see a problem.
In the ON_COMPONENT_BEGIN_OVERLAP_(BODY) you made the overlap component from the BODY, but if you’re trying to register bone hits, don’t you need an overlap component that is NOT derivative from your mesh?
For example, create a SEPARATE blueprint that contains a BOX COLLISION. Then do what you did in the picture.
NOTE: Because it is a SEPARATE BLUEPRINT, you’ll either have to CAST or reference your character.