Custom trace channel in c++?

In what file should you add:
ETraceQueryType MyTraceType = UEngineTypes::ConvertToTraceType(ECollisionChannel::ECC_GameTraceChannel2);

In your project header file or just where you plan to use this?

1 Like