Get Sweep Result from OnComponentBeginOverlap

I am trying to make a melee combat game, therefore I need to create overlap event between character mesh and weapon mesh, to create variation on hit reaction I need more information than just overlapped actor, how can I get the information like bone, impact point, physics mat from sweep result? I know if I want physics mat to return, I need to pass a FCollisionQueryParams, where should I do that?

Many Thanks

Hey there, instead of doing that you could do a Line Trace from the bottom of the blade to the tip and you’ll get that information. The current way you are doing will fire even if you are not attacking and will be for the entire model, instead of just the blade part.

Indeed, it does provide very sufficient information from the overlap event, include the bone name, hit Position etc… Box Trace or line Trace depends on preference, thanks man