FCollisionQueryParams TraceParams(FName(TEXT("")), false, GetOwner());
I did not understand the command above. What does “TraceParams” variable do?
Why it is crucial?
FCollisionQueryParams TraceParams(FName(TEXT("")), false, GetOwner());
I did not understand the command above. What does “TraceParams” variable do?
Why it is crucial?
It’s for storing parameters for the line trace. That code there is setting the parameter of the line trace tag, whether or not to trace complex collision, and what actor to ignore when line tracing.
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.