Single Line Trace doesn't bypass the CapsuleComponent

Hello there,

I read everything on the forums and AnswerHub, but no clue yet. I’m trying to shoot a line trace from a weapon instead of a projectile, and I set up a custom trace channel to handle that. If it works perfectly fine with static meshes or blueprints, it doesn’t work with Characters. The Skeletal Mesh’s collisions and trace channel are always overriden by the CapsuleComponent’s collisions, no matter which settings I choose.

  • Setting the CapsuleComponent’s custom trace channel to “ignore”, and my mesh to “block” makes my line trace go through the mesh without triggering any hit.
  • Completely removing the collisions from my CapsuleComponent and enabling all of them on my Character makes him fall through the ground.

Is there a way to effectively bypass my CapsuleComponent’s trace channels without disabling it’s childrens trace channels ?

Thank you very much !

Are you trying to trace something inside the capsule? I think you use LineTraceComponent for that.

Hello, thanks for your answer. In fact I have the exact same problem as here: https://answers.unrealengine.com/questions/46650/problem-character-mesh-not-generating-hit-events.html but in my setup I cannot apply the same workaround as he/she does.

It does confirm that it’s actually a bug, when you have a Root CapsuleComponent it will overrides any collision or trace response setting in your CharacterMesh.