struct

FQueryHit

Module
Physics
Header
#include "Physics/PhysicsQuery.h"
Namespace
Mowo

Properties

TypeNameDescription
FPhysicsBodyIdbodyID
FPhysicsSubShapeIdsubShapeIDIdentifies the exact triangle / heightfield square / compound leaf that was struck, for a later surface or material re-resolve.
EntityIDentityIdThe gameplay entity behind the body, resolved on the query path so a caller does not need a second map lookup per hit. INVALID_ENTITY for bodies nobody registered (raw physics bodies, ragdoll parts). Default INVALID_ENTITY.
Vec3locationOn the struck surface, pointing out of it.
Vec3normal
Vec3shapeCenterSweeps only: where the swept shape's centre sat at impact. Rays leave it equal to location.
floatdistanceDefault 0.0f.
floatfractionDefault 1.0f.
ESurfaceTypesurfaceDefault ESurfaceType::Default.
ECollisionResponseresponseBlock for the hit that stopped the trace, Overlap for a body the trace only reported on its way through. Default ECollisionResponse::Block.
Generated from Physics/PhysicsQuery.h via physics.json · Nov 4, 2026Version 1.0.0