How to do a BP like Line Trace by channel

Hello there,

I have been trying this for a little while now but I can’t find out how to do it. How can I do a Line Trace by Channel and ignore some actors. This is the blupeirnt version:

, but I am currently translating it to C++
Any help would be greatly apreciated.

Hey -

You can use the KismetSystemLibrary::LineTraceSingle_NEW() function which is the code implementation of the node shown in your screenshot.

Cheers