unreal.PredictProjectilePathResult

class unreal.PredictProjectilePathResult(path_data=[], last_trace_destination=[[0.0, 0.0, 0.0], [0.0, 0.0, 0.0], 0.0], hit_result=[False, False, 1.0, 0.0, [0.0, 0.0, 0.0], [0.0, 0.0, 0.0], [0.0, 0.0, 0.0], [0.0, 0.0, 0.0], None, None, None, 'None', 'None', 0, 0, 0, [0.0, 0.0, 0.0], [0.0, 0.0, 0.0]])

Bases: unreal.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

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

Type

(HitResult)

property last_trace_destination

[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

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

Type

(Array(PredictProjectilePathPointData))