I asked this question on the answers hub : Single Line Trace for Objects in C++ - UE4 AnswerHub
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:
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?