Single Line Trace for Objects in C++

I asked this question on the answers hub : https://answers.unrealengine.com/questions/116382/single-line-trace-for-objects-in-c.html

A little background on what I am doing:

I managed to successfully create roughly what I want via blueprints so right now I am in the midst of creating a C++ base class for my character so I can inherit the baseline movements, actions etc.

Currently I am kinda stumped on finding an analogue of the “Single Line Trace for Objects” blueprint node in C++. I believe I have located the method which is this one:

UKismetSystemLibrary::LineTraceSingleForObjects(…)

However the documentation is very unclear on what it is expecting and also the inputs/arguments/parameters does not appear to be the same as it is on Blueprints.

Can you folks, point me in the right direction for this?

Thanks.

Hey there is a great wiki page on this.
Trace Functions by

's wiki did the trick. Thanks guys :slight_smile: