struct
FQueryHit
- Module
- Physics
- Header
#include "Physics/PhysicsQuery.h"- Namespace
Mowo
Properties
| Type | Name | Description |
|---|---|---|
FPhysicsBodyId | bodyID | |
FPhysicsSubShapeId | subShapeID | Identifies the exact triangle / heightfield square / compound leaf that was struck, for a later surface or material re-resolve. |
EntityID | entityId | The 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. |
Vec3 | location | On the struck surface, pointing out of it. |
Vec3 | normal | |
Vec3 | shapeCenter | Sweeps only: where the swept shape's centre sat at impact. Rays leave it equal to location. |
float | distance | Default 0.0f. |
float | fraction | Default 1.0f. |
ESurfaceType | surface | Default ESurfaceType::Default. |
ECollisionResponse | response | Block 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