FAINoiseMap — where it has been loud lately, as the level's acoustics carry it. Every sound and scan the perception system files is spread over a grid of cells around it, each cell receiving what the propagation law lets
One actor a perceiver remembers (UE's FActorPerceptionInfo): per sense, how long ago it last sensed the actor and how strongly. A sense expires at its max age on the perceiver's component; the actor is forgotten once eve
How one team regards another (UE's IGenericTeamAgentInterface attitude). Without overrides a team is friendly to itself and hostile to every other team — the team-id equality perception used before, so existing levels ke
UE's NavMeshBoundsVolume: the box a nav bake is confined to. With none in the level the bake covers every walkable triangle, as it always has; with one or more it covers their union, so a level whose skybox meshes or far
Observer abort modes (UE5 EBTFlowAbortMode). Self is implicit on every gate decorator here — the condition is re-evaluated on each tick, so a running subtree is dropped the moment it stops holding. LowerPriority/Both mak
Bridges the ECS half of the tree back to the actor half. Data-driven trees tick with owner == nullptr, so nodes that need an AActor (Visual Script tasks, melee targeting, perception hand-off) recover one from (world, ent
Runs a data-driven BehaviorTreeAsset over a per-instance Blackboard, ticked by BehaviorTreeSystem (UE5 UBehaviorTreeComponent analog). The authored fields (tree asset + tick rate) round-trip through reflection; the compi
Storage for instance-synced keys. One group per tree asset (or any set of agents that should share knowledge — a squad); members register themselves so a write from one reaches the observers of all.
Whose position a generator centres on or a test measures against: the entity running the query, or a blackboard vector / actor named by FEnvQueryRequest::Target.
An environment query as data (.eqs): one generator around a context and an ordered list of tests, run by FEnvQueryRunner. The UE EQS shape — generator, tests as filter and/or score, best or random-from-the-top pick — o
What a run needs from the world. The two callbacks are optional: a Trace test without one passes everything (and says so once), a Pathfind test without one scores straight-line distance.
One query run as a resumable job: generation, then each test measured item by item under a budget, then the pick. Run() drives it to the end in one call; FEnvQueryManager spreads it across frames (UE's time-sliced UEnvQu
Per-world queue of in-flight queries, stepped by EnvQuerySystem under the eqs.ItemBudget cvar, oldest first. A BT task submits, stays Running and polls; nothing waits on a query inside one frame.
Owns the world's FEnvQueryManager and steps it once a frame under the eqs.ItemBudget cvar. Runs before the behaviour trees in the same tick slot, so a query a tree submitted last frame answers before the tree polls it. Q
The behaviour-tree face of an environment query: the native task "RunEQSQuery" (assetRef = the .eqs, key = the blackboard vector that receives the winning point; "EQSTarget" is read as the query's Target when set). Succe
Visual Scripting's reach into smart objects: claim the nearest free slot for an actor, read where to go, release it. The claim belongs to the actor's backing entity, so the same seat is visible to a behavior tree on that
An entity that moves itself toward a destination using the navigation system. The agent's TransformComponent.position is steered each tick; it doesn't interact with physics rigid bodies directly (that's a separate "physi
Per-agent runtime path cache used by the *fallback* straight-line path-follow path (when no nav mesh is set). Keyed off entity ID so it survives across ECS iterations without storing allocations on NavAgentComponent itse
Gameplay path requests answered over later frames (UE's FindPathAsync). Each Update spends at most nav.PathQueryBudget Detour search iterations on the queue through a sliced search (initSlicedFindPath / updateSlicedFindP
Debug-viz triangle from the baked poly-mesh. Walk-surface only, already in world space. The editor draws these as transparent overlay when NavMesh visualization is on.
Baked navigation mesh. Owns: - The serialized Detour blob (m_blob) — what gets written to disk and re-loaded on scene open. - A live dtNavMesh built from that blob (m_navMesh) — what queries run against. - A shared dtNav
Typed face of Scene's opaque nav slot: Get casts GetNavData back to the asset, Set stores it AND pushes to the live nav systems (the contract the retired Scene::SetNavMesh had). The editor bake path and the plugin's own
Runs the Recast bake pipeline against a scene. Walks every entity with TransformComponent + MeshRendererComponent, transforms the CPU-side mesh data to world space, feeds Recast, and produces a dtNavMesh ready to stuff i
Off-mesh connection captured from a NavMeshLinkComponent. World-space endpoints — both must end up over walkable polys after the bake, otherwise Detour silently drops the link.
Thread-safe snapshot of every walkable triangle in the scene at the moment SnapshotScene was called. Cheap to move between threads (just std::vector buffers). Produced on the main thread (touches ECS); consumed by Recast
Live progress for an in-flight bake. Editor polls these atomics each frame to drive a progress bar. tilesTotal == 1 for solo bakes (the whole thing counts as one work unit); tilesTotal == tileCountX * tileCountY for tile
Runtime rebuild by change: tiles are baked on a worker into a batch without touching the live mesh, and ApplyTileBatch swaps them in on the game thread, where queries run. A batch that is never applied frees its tile dat
Rebuilds a tiled navmesh by change at runtime (UE's dynamic generation with dirty areas). Every frame it notices nav-relevant geometry that moved, appeared or disappeared — mesh renderers that are not simulated physics b
A world object an agent can claim and use — a bench, a vending machine, a window to look out of (UE5 SmartObjects). The object advertises an activity and N slots laid out along its local X axis; an agent claims one slot,
Runs a StateTreeAsset over a per-instance Blackboard, ticked by StateTreeSystem (UE5 UStateTreeComponent analog). The authored fields round-trip through reflection; the compiled tree and blackboard are runtime-only.
Installs Visual Scripting's AIMoveTo provider over this plugin's navigation systems. Called from RegisterAINavigationModule, so a host that never loads the plugin keeps Visual Scripting's no-provider failure rather than
AINavigation/AINavModule.h
Free functions
Signature
Description
void RegisterAINavigationModule()
Registers the AI/navigation scene systems, the schedule serializer, the nav-mesh scene hook, the noise/situation signal handlers, the hot-reload purge and the MeleeAttack behavior-tree task. Idempotent. Called by the plugin loader's InitializeModule / the monolithic static registrar; hosts that link the plugin without plugin discovery (headless tests) call it directly.