unreal.TargetingTraceType

class unreal.TargetingTraceType

Bases: EnumBase

enum: ETargetingTraceType determines the shape of the trace used.

C++ Source:

  • Plugin: TargetingSystem

  • Module: TargetingSystem

  • File: TargetingSelectionTask_Trace.h

BOX: TargetingTraceType

3

CAPSULE: TargetingTraceType

With zero rotation, the capsule length runs along the trace’s up vector (the cross product of the trace’s forward vector and the trace’s forward vector flattened onto the XY plane and rotated 90 degrees around the Z vector).

Type:

2

LINE: TargetingTraceType

0

SPHERE: TargetingTraceType

1