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', 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 along the trace, if tracing with collision was enabled.
  • last_trace_destination (PredictProjectilePathPointData): [Read-Only] Info on the last point we tried to trace to, which may have been beyond the final hit.
  • path_data (Array(PredictProjectilePathPointData)): [Read-Only] Info for each point on the path.
hit_result

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

last_trace_destination

(PredictProjectilePathPointData) – [Read-Only] Info on the last point we tried to trace to, which may have been beyond the final hit.

path_data

(Array(PredictProjectilePathPointData)) – [Read-Only] Info for each point on the path.