Skip to content

Sein Navigation Data

Struct · FSeinNavigationPayload : FSeinPayload

Parent: Sein Component Data

#include "Components/SeinNavigationPayload.h"

deterministic: safe in simulation code

Sein Navigation Data: per-unit pathfinding settings. It sets the unit’s fallback footprint, wall padding, acceptance radius, nav layers, blocked terrain and how it replans while moving.

FFixedPoint FallbackFootprintRadius · default FFixedPoint::FromInt(50) · min 0.0

Editable in defaults and on instances · Blueprint read and write

Body radius (world units) the framework falls back to when this entity has no Extents Component. Almost every RTS unit has an Extents Component — it drives FoW occlusion, hit detection, and nav blocking — and when present THAT is the body-size source of truth and this field is ignored.

Use it for prototype units or simple actors where you want a quick collision footprint without authoring full Extents. When it IS used (no Extents on the Blueprint) it drives path clearance (planner keeps the body clear of walls), penetration (units never overlap footprints), and avoidance (perception radius for nearby units). Resolution order, matching collision and pathfinding: (1) Extents shapes — max bounding radius — preferred; (2) this field — fallback when Extents is absent; (3) 0 — intangible (no collision, clearance, or avoidance). Rough guides: infantry / small bipeds 50, wheeled vehicles 100, tracked vehicles 150. Default 50.

int32 WallPadding · default 0 · min 0, max 64

Editable in defaults and on instances · Blueprint read and write

Extra wall clearance for this unit, in nav cells, on top of the geometric minimum. The planner already keeps just enough room for the body to clear walls; this adds N more cells of margin. 0 = just barely fit (the default).

The geometric minimum is Required = ceil(FootprintRadius / CellSize + 0.5), where the +0.5 is the half-cell from cell-center to wall edge. 0 = tight corridors OK, light scrapes possible on fast turns; 1 = a comfortable cell of slack for steering bumps and avoidance; 2+ = wider corridors required, typical for tanks/vehicles that want turn-radius slack without rubbing walls. Note: raising this can make a narrow corridor UNREACHABLE if its width is below minimum + padding — correct (the unit genuinely doesn’t fit), but watch for paths suddenly routing the long way around. Capped at 64 (the planner’s clearance-BFS radius); useful range 0–8. Default 0.

FFixedPoint AcceptanceRadius · default DefaultArrivalAcceptance() · min 0.0

Editable in defaults and on instances · Blueprint read and write

How close (world units) the unit must get to its destination to count as arrived — within this distance it stops and reports the move complete.

Tune higher for units that can’t stop on a dime (wheeled vehicles especially, where turn radius prevents tight arrivals); lower for infantry expected to land exactly on a spot. Default 50 = half a 100cm cell. Per-unit and authoritative — there is no per-call override.

uint8 NavLayerMask · default 0x01

Editable in defaults and on instances · Blueprint read and write

Which runtime blocker classes affect this unit. The unit is blocked by an Extents Data dynamic-nav stamp only when at least one bit is shared with that stamp’s BlockedNavLayerMask. Static baked terrain is deliberately separate; use Blocked Terrain Tags below for per-unit ground restrictions. Default 0x01 (bit 0 = normal ground units).

Example: a temporary ground barricade stamps only the Default bit; infantry keeps Default and routes around it, while a hover unit using a distinct bit ignores it. Use Blocked Terrain Tags—not this mask—for baked water, mud, road, or other ground classifications.

FGameplayTagContainer BlockedTerrainTags

Editable in defaults and on instances · Blueprint read and write

Baked terrain classes this unit treats as impassable. Matching is hierarchical, so blocking SeinARTS.Terrain.Water also blocks authored child types such as SeinARTS.Terrain.Water.Deep. The policy is carried through the initial path, every repath, field-direction and escape query, the runtime movement floor, collision/containment correction, and formation-slot projection. Empty means no per-unit terrain restriction.

This is a hard topology rule, not a cost preference. Global terrain Nav Cost and Speed Multiplier remain independent soft policies.

ESeinRepathMode RepathMode · default ESeinRepathMode::Interval

Editable in defaults and on instances · Blueprint read and write

What makes a moving unit plan its route again. Periodic Route Check looks for new obstructions every Repath Interval; Mode Requests Replans leaves that to the movement mode. Either way, a move that stops making progress replans.

FFixedPoint RepathInterval · default FFixedPoint::FromInt(1) / FFixedPoint::FromInt(4) · min 0.05

Editable in defaults and on instances · Blueprint read and write

Seconds between checks for route obstructions, including newly revealed terrain and entities, in Periodic Route Check mode, and the shortest gap between replans in either mode. Valid routes keep their progress. Smaller values react sooner but cost more query work. Default 0.25 seconds.

int32 RepathFailureLimit · default 3 · min 1

Editable in defaults and on instances · Blueprint read and write

Reserved. The shipped movement does not read this value; a move that makes no progress fails as Stranded after its movement mode’s Stranded After No Progress time.

FFixedPoint OffPathThreshold · default FFixedPoint::FromInt(75) · min 0.0

Editable in defaults and on instances · Blueprint read and write

Reserved. The shipped movement does not read this value; a move replans according to Repath Mode and Repath Interval, or after a lack of progress.

int32 MaxSearchNodes · default 0 · min 0

Editable in defaults and on instances · Blueprint read and write

Per-unit cap on pathfinder work (A* node expansions) for one path request, bounding how hard the planner searches before returning its best-effort partial path to the closest reachable cell. 0 = use the project default from plugin settings.

Smaller caps a unit’s worst-case pathfind cost on huge / maze-like maps (cheap skirmishers that should give up fast rather than stall the tick); larger lets an important unit search harder for a long-range route. Hitting the cap is not a failure — the unit still moves along the partial path toward the goal and (if repathing) tries again from closer up. Default 0.

C++ members (1)
  • static FFixedPoint DefaultArrivalAcceptance(); The arrival acceptance a unit falls back to when it has no navigation component, or an explicitly zero AcceptanceRadius. Single source of truth shared by the move-completion check (SeinMoveToAction), the movement-trace settle classifier, and the idle re-seek displacement floor - so the fallback and this field’s own default can never drift apart.