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

TypeNameDescription
ECollisionChannelchannelA 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.
booluseChannelOff = the object-layer mask path instead, for callers that reason in layers. layerMask is ignored while useChannel is on. Default true.
uint32_tlayerMaskDefault 0xFFFFFFFFu.
boolincludeOverlapsMulti 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.
boolignoreSensorsA sensor body is a gameplay volume; stopping a bullet on a trigger box is almost never what the caller meant. Default true.
EQueryMobilitymobilityDefault EQueryMobility::All.
EQueryComplexitycomplexityDefault EQueryComplexity::Both.
EQueryBackFacesbackFacesDefault EQueryBackFaces::Default.
booluseProfileQuery 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.
FCollisionResponseContainerprofile
std::vector<FPhysicsBodyId>ignoreBodiesBodies dropped from the result set — the shooter's own capsule, the carried prop, everything a penetrating shot has already passed.

Public functions

ReturnsNameDescription
voidSetProfile
voidIgnore
voidClearIgnored
boolIsIgnored

Function details

SetProfile

C++
void SetProfile(ECollisionPreset preset)

Ignore

C++
void Ignore(FPhysicsBodyId bodyID)

ClearIgnored

C++
void ClearIgnored()

IsIgnored

C++
bool IsIgnored(FPhysicsBodyId bodyID) const
Generated from Physics/PhysicsQuery.h via physics.json · Nov 4, 2026Version 1.0.0