Line Trace Component

Line Trace Component

Windows
MacOS
Linux

Perform a line trace against a single component

Target is Primitive Component

Line Trace Component
Target
Trace Start
X0
Y 0
Z 0
Trace End
X0
Y 0
Z 0
Trace Complex
Show Trace
Persistent Show Trace
Hit Location
X0
Y 0
Z 0
Hit Normal
X0
Y 0
Z 0
Bone Name
None
Out Hit
Return Value

Inputs

In
Exec
Target
Primitive Component Object Reference
Trace Start
Vector

The start of the trace in world-space

Trace End
Vector

The end of the trace in world-space

Trace Complex
Boolean

Whether or not to trace the complex physics representation or just the simple representation

Show Trace
Boolean

Whether or not to draw the trace in the world (for debugging)

Persistent Show Trace
Boolean

Whether or not to make the debugging draw stay in the world permanently

Outputs

Out
Exec
Hit Location
Vector
Hit Normal
Vector
Bone Name
Name
Out Hit
Hit Result Structure
Return Value
Boolean
Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss