unreal.PredictProjectilePathResult

class unreal.PredictProjectilePathResult(path_data: Array[PredictProjectilePathPointData] = [], last_trace_destination: PredictProjectilePathPointData = Ellipsis, hit_result: HitResult = Ellipsis)

Bases: StructBase

Container for the result of a projectile path trace (using PredictProjectilePath).

C++ Source:

  • Module: Engine

  • File: GameplayStaticsTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • hit_result (HitResult): [Read-Only] Hit Result: Hit along the trace, if tracing with collision was enabled.

  • last_trace_destination (PredictProjectilePathPointData): [Read-Only] Last Trace Destination: Info on the last point we tried to trace to, which may have been beyond the final hit.

  • path_data (Array[PredictProjectilePathPointData]): [Read-Only] Path Data: Info for each point on the path.

property hit_result: HitResult

[Read-Only] Hit Result: Hit along the trace, if tracing with collision was enabled.

Type:

(HitResult)

property last_trace_destination: PredictProjectilePathPointData

[Read-Only] Last Trace Destination: Info on the last point we tried to trace to, which may have been beyond the final hit.

Type:

(PredictProjectilePathPointData)

property path_data: Array[PredictProjectilePathPointData]

[Read-Only] Path Data: Info for each point on the path.

Type:

(Array[PredictProjectilePathPointData])