After digging in the Engine source files for a while I came up with the solution.
GetCapsuleComponent()->SetCollisionResponseToChannel(ECC_EngineTraceChannel1, ECR_Ignore);
The response to certain TraceChannel can be changed this way.
After digging in the Engine source files for a while I came up with the solution.
GetCapsuleComponent()->SetCollisionResponseToChannel(ECC_EngineTraceChannel1, ECR_Ignore);
The response to certain TraceChannel can be changed this way.