Download

Overridden OnComponentBeginOverlap - FHitResult does not contain bone name?

I have a custom component that inherits from the box component called ItemHitBox. I have overridden the overlap event and this fires correctly when I hit a skeletal mesh with the item. The mesh has a physics asset associated with it - however l, the hit result parameter has no info at all in, except the name of the component that has been hit. How do I extract the name of the bone that has been hit?

I think you’ll have to do an additional check against the mesh after you’ve determined the Overlap succeeded.
LineTraceComponent( or SweepComponent should probably work.