LineTrace doesn't generate Hit on ragdolled SkeletalMesh

Strange…
I thought I received an answer, but I can’t see it. Whoever answered me, thanks for pushing me in the right direction!
I was able to solve my problem without any limitations.

This was the problem:

The goal was to be able to focus the ragdolled body laying on the ground. The CapsuleComponent triggered all the hit events for focusing and killing the NPC. After the NPC died I obviously deactivated the capsules collisions inside the code, since it’s not supposed to collide with the player anymore.

What I was looking for, was a way to generate a hit event on either the SkeletalMesh itself or its PhysicsAsset.
What I was missing, was enabling the following option on the SkeletalMesh to use complex collision to generate the hit events:

322769-capture02.jpg

This way the CapsuleComponent is solely responsible for Player collision, while shooting , focusing or other hit events are handled on the collision component of the SkeletalMesh itself. If you don’t need a Physics Simulation on the SkeletalMesh you can also pick the “Query Only” option.

Everything else was already setup correctly.

Thanks again!

1 Like