How can i get capsule from skeletal?

when trriger an overlap event , I remember it will have a param named Index is the skeletal bone index

I searching variants of hitbox and i find capsules in skeletal, how can i get this capsules from line traice using C++?

I find other way, its need to create physmaterial and assign to mesh and the get it:
FHitResult.PhysMaterial.Get();