unreal.HitResult

class unreal.HitResult(blocking_hit=False, initial_overlap=False, time=0.0, distance=0.0, location=[0.0, 0.0, 0.0], impact_point=[0.0, 0.0, 0.0], normal=[0.0, 0.0, 0.0], impact_normal=[0.0, 0.0, 0.0], phys_mat=None, hit_actor=None, hit_component=None, hit_bone_name='None', bone_name='None', hit_item=0, element_index=0, face_index=0, trace_start=[0.0, 0.0, 0.0], trace_end=[0.0, 0.0, 0.0])

Bases: unreal.StructBase

Structure containing information about one hit of a trace, such as point of impact and surface normal at that point.

C++ Source:

  • Module: Engine

  • File: EngineTypes.h