I am trying to figure out how to translate this node in my blueprints to C++:
After some jiggery pokery trawling through UE4’s documentation, the method that maps to this seems to be this:
UKismetSystemLibrary::LineTraceSingleForObjects(..)
I also located the documentation [here][2].
What I am confused about would be the following:
- What is it looking for in the WorldContextObject parameter/argument?
- I noticed that in the source code, it is calling a method marked as “DEPRECATED”, does that mean there is a more up to date method to accomplish this?
- In blueprints, we have the option of just making an array and selecting what we want, in my case, it is “World Static”. What is the C++ equivalent of this here?
Pardon my questions as I am very new to game development and hope to learn from the best here