struct
FQueryFilter
Everything a query filters on, in one place. The legacy entry points took a layer mask and a single ignored body, which is why a scanner could not skip its own carrier plus the prop in its hands, and why "by channel" only existed for plain rays.
- Module
- Physics
- Header
#include "Physics/PhysicsQuery.h"- Namespace
Mowo
Properties
| Type | Name | Description |
|---|---|---|
ECollisionChannel | channel | A body participates only when its registered response to this channel is Block — or Overlap, when includeOverlaps is set on a multi query. Bodies with no registered response Block, so externally created geometry still stops traces. Default ECollisionChannel::Visibility. |
bool | useChannel | Off = the object-layer mask path instead, for callers that reason in layers. layerMask is ignored while useChannel is on. Default true. |
uint32_t | layerMask | Default 0xFFFFFFFFu. |
bool | includeOverlaps | Multi queries only: report the bodies the trace passed through as Overlap hits alongside the blocking one, the way UE's multi traces do. Default false. |
bool | ignoreSensors | A sensor body is a gameplay volume; stopping a bullet on a trigger box is almost never what the caller meant. Default true. |
EQueryMobility | mobility | Default EQueryMobility::All. |
EQueryComplexity | complexity | Default EQueryComplexity::Both. |
EQueryBackFaces | backFaces | Default EQueryBackFaces::Default. |
bool | useProfile | Query as if the probe were a body with this collision profile: a body is reported unless the pair would Ignore each other, and a single-hit query stops only on a pair that would Block. Replaces the channel test while on. Default false. |
FCollisionResponseContainer | profile | |
std::vector<FPhysicsBodyId> | ignoreBodies | Bodies dropped from the result set — the shooter's own capsule, the carried prop, everything a penetrating shot has already passed. |
Public functions
| Returns | Name | Description |
|---|---|---|
void | SetProfile | |
void | Ignore | |
void | ClearIgnored | |
bool | IsIgnored |
Function details
SetProfile
C++
void SetProfile(ECollisionPreset preset)Ignore
C++
void Ignore(FPhysicsBodyId bodyID)ClearIgnored
C++
void ClearIgnored()IsIgnored
C++
bool IsIgnored(FPhysicsBodyId bodyID) constGenerated from Physics/PhysicsQuery.h via physics.json · Nov 4, 2026Version 1.0.0