nav kit
207 tools. Generated from the plugin source; do not edit by hand.
Guide
The nav kit manages editor-world navigation: configured agents, Recast generation settings,
bounds and modifier volumes, areas and query filters, links and smart links, invokers, build state,
synchronous path/polygon/tile queries, and PIE movement, crowd and avoidance tests. Coordinates and
extents are centimetres; extents are half sizes. Actor references are the exact label or object name.
Set up navigation for a level (5 calls)
nav.add_bounds_volume {name, location, extent}around the walkable geometry (ornav.fit_bounds_to_actors {boundsActor, actors}).nav.build: flushes pending bounds/geometry updates and runs the engine "Build Paths", which blocks until the tiles exist.nav.get_build_status,nav.get_nav_dataandnav.get_statsconfirm it.nav.project_point {point}on each endpoint (a found point means the location is on the mesh).nav.find_path {start, end}:valid,partial,length,cost,navData, the waypoints and, when there is no path, the cause (start off mesh, end off mesh, or not connected).nav.diagnose_buildwhen something is empty: it reports missing bounds/nav data, invoker-only generation without invokers, bounds without collidable geometry, unregistered bounds, auto-update off, dirty areas and static runtime generation, each with the tool that fixes it.
For quick experiments nav.create_test_floor {name, location, extent} spawns a flat static floor
(engine Cube, 10 cm thick) and nav.create_test_character a Character. Both are tagged UeaNavTest;
nav.remove_test_actors {actors:[...]} deletes them and refuses any other actor.
Selecting navigation data, agent and filter
Path and projection tools (find_path, test_path, get_path_*, get_path_corridor,
reachability_matrix, project_point, raycast, runtime_* equivalents) accept:
navData: a navigation data label fromnav.list_nav_data, oragent: a supported agent name fromnav.list_agents(its navigation data is used), andfilterClass: aNavigationQueryFilterclass or Blueprint path (area costs/exclusions),allowPartial(paths only, default true).
With neither navData nor agent the world's default navigation data is used. Tools that edit one
RecastNavMesh take navData/actor; empty means "the only RecastNavMesh" and fails with
E_INVALID_ARG when there are several.
Generation settings
nav.get_navmesh/nav.set_navmesh: tile size, agent radius/height/slope, cell size/height (the Default resolution on UE 5.2+), region/layer partitioning (Monotone,Watershed,ChunkyMonotone), min region area, merge size, simplification error, voxel/low-span filtering,generateNavLinks(5.5+).nav.get_resolution/nav.set_resolution {resolution:'Low'|'Default'|'High', cellSize, cellHeight, agentMaxStepHeight}: Low/High exist from UE 5.2, per-resolution step height from 5.3.nav.get_tile_cache/nav.set_tile_cache: fixed pool, pool size, hard limit, simultaneous jobs, empty layers, voxel cache.nav.get_query_settings/nav.set_query_settings: max search nodes, heuristic scale, vertical compensation, corner offsets (no rebuild needed).nav.set_runtime_generation {mode:'Static'|'Dynamic'|'DynamicModifiersOnly'}: Static navmeshes never change in PIE; use Dynamic for moving obstacles and runtime rebuilds.nav.set_navmesh_properties {properties:[{key,value}]}writes any other reflected Recast field.
Rebuild (nav.build, nav.rebuild_all, or nav.rebuild_nav_data {navData} for one agent) after
generation changes.
Build control
nav.build,nav.rebuild_allandnav.rebuild_nav_datablock until the tiles exist.nav.rebuild_area {center, extent}only dirties a box; the navigation tick regenerates it, so pollnav.wait_build(off-thread) afterwards. It needs auto-update (nav.set_auto_update {enabled:true}).nav.add_build_lock {flags:16}/nav.remove_build_lockbracket multi-step edits;nav.cancel_builddrops queued tile work.nav.get_build_historylists the builds run through nav tools in this session (duration, tiles before/after);nav.list_registered_boundsshows what the generator really uses.- Debug drawing:
nav.get_draw_flags/nav.set_draw_flags {enable:[...], disable:[...], enableDrawing, drawOffset}(flag names vary by engine; the getter lists them). The viewport "Navigation" show flag itself is a UI setting and is not exposed.
Areas, filters and modifiers
- Areas:
nav.create_area_blueprint {folder, name, parentClass},nav.duplicate_area,nav.get_area,nav.set_area_defaults {area, defaultCost, fixedAreaEnteringCost, drawColor, supportedAgents},nav.find_actors_by_area {area}(who uses it). - Query filters (per-agent area costs):
nav.create_query_filter_blueprint,nav.set_query_filter_area {filter, areaClass, travelCost, enteringCost, excluded}(noneclears an override),nav.get_query_filter,nav.remove_query_filter_area,nav.list_query_filters. Pass the filter asfilterClassto the path tools or as the AI controller's default filter. - Modifiers:
nav.add_modifier_volume,nav.set_modifier_volume,nav.add_modifier_component,nav.set_modifier_component {areaClass, extent (failsafe), includeAgentHeight},nav.remove_modifier_component,nav.list_modifiers(volumes + components with bounds). Replacement areas (nav.set_modifier_volume_replacement,nav.set_modifier_replacement,Noneclears) need UE 5.5;nav.set_modifier_resolutionneeds 5.2 for volumes and 5.3 for components. - Actor relevance:
nav.set_actor_nav {actor, canAffect, dynamicObstacle, areaClass}(texttrue/false; empty keeps the value),nav.batch_set_actor_nav(all actors must exist),nav.refresh_actor_nav,nav.list_nav_relevant_actors,nav.find_nav_blockers.
Links
- Simple links on a proxy (world points):
nav.add_link_proxy {name, start, end},nav.add_simple_link,nav.set_link_proxy {index, start, end},nav.snap_links_to_navmesh,nav.set_link_properties {index, direction, areaClass, snapRadius, snapHeight, leftProjectHeight, maxFallDownLength, snapToCheapestArea, description, supportedAgents}.nav.list_simple_linksandnav.get_simple_linkreturn every field and whether each endpoint projects to the navmesh. - Link components on any actor (points relative to the actor):
nav.add_link_component {componentName},nav.add_link_component_link,nav.set_link_component_link,nav.remove_link_component_link,nav.get_link_component,nav.list_link_components,nav.remove_link_component;nav.set_link_properties {componentName}edits their fields. - Smart links (doors, ladders):
nav.set_smart_link {enabled},nav.set_smart_link_points,nav.copy_simple_to_smart_link,nav.set_smart_link_areas {enabledArea, disabledArea},nav.set_smart_link_broadcast {radius, interval, notifyWhenEnabled, notifyWhenDisabled},nav.set_smart_link_obstacle/nav.clear_smart_link_obstacle,nav.get_smart_link,nav.list_smart_links. Blueprint "smart link reached" logic is authored with thebpkit. - Checks:
nav.validate_link_proxy {actor}(coincident/off-mesh endpoints, drops beyond maxFallDownLength, enabled-but-irrelevant smart links),nav.audit_linksfor the whole level.
Queries
- Reachability:
nav.test_path,nav.batch_test_paths,nav.reachability_matrix {points}(all ordered pairs),nav.find_path_to_actor. - Corridor:
nav.get_path_corridorreturns the polygons crossed (ref, centre, area, tile, cost), the distinct areas and the segments that use links. - Points:
nav.batch_project_points,nav.sample_navmesh {center, extent, spacing}(coverage fraction),nav.random_points {count, reachable},nav.find_distance_to_wall. - Polygons and tiles:
nav.get_poly_at,nav.get_poly_info {polyRef | point},nav.get_polys_in_box,nav.get_tile_at {point},nav.list_polys_in_tile,nav.list_tiles,nav.list_tile_refs(5.5+),nav.get_area_id_map,nav.has_complete_data. nav.raycast_detailed(5.5+) adds whether a clear ray's end lies in the explored corridor.
Agents, crowd and avoidance
- Project settings:
nav.get_settings,nav.list_agents,nav.get_crowd_settings(typed profiles) are read-only.nav.set_settings,nav.add_agent,nav.set_agent,nav.remove_agent,nav.set_crowd_settingsandnav.set_crowd_avoidance_profilewriteDefaultEngine.ini(risk 4, confirm first). - Agent Blueprints:
nav.create_agent_blueprint {folder, name, controllerClass}makes a Character Blueprint possessed by an AIController when placed or spawned;nav.get_agent_blueprint/nav.set_agent_blueprintedit RVO, nav agent radius/height/step, crouch/jump/walk/swim/fly and path-following flags. Compile and save the Blueprint afterwards. - Placed Characters:
nav.get_rvo_avoidance/nav.set_rvo_avoidance. Invokers:nav.add_invoker,nav.set_invoker,nav.list_invokers,nav.remove_invoker.
PIE movement test
- Start PIE (
play.start). nav.spawn_test_agent {name, controllerName, location, crowd}spawns a Character possessed by an AIController (a DetourCrowdAIController withcrowd:true); withensureNavData(default) the PIE world also gets its default nav data actor.nav.runtime_move_to {controller, goal}ornav.runtime_move_to_actor {controller, goalActor}; watchnav.runtime_get_controller_state(status, path progress, velocity, goal, nav data, filter);nav.runtime_pause_move,nav.runtime_resume_move,nav.runtime_stop_movement.nav.runtime_find_path_for_agent {controller, goal}shows the path MoveTo would use (pawn agent properties + controller filter);nav.runtime_batch_reachabilitytests many pairs.- Crowd and RVO:
nav.runtime_get/set_crowd_agent(quality, separation, groups, simulation),nav.runtime_get/set_crowd_profile(session only),nav.runtime_get/set_rvo. - Dynamic worlds:
nav.runtime_spawn_link_proxy,nav.runtime_set_smart_link_enabled(open/close a door link),nav.runtime_set_obstacle,nav.runtime_update_actor_nav,nav.runtime_rebuild_area(needs Dynamic runtime generation),nav.runtime_get_invoker_locations. nav.runtime_despawn_agentremoves the pawn and its controller.
Gotchas
nav.buildneeds at least one NavMeshBoundsVolume; without one the engine does nothing.- A navmesh with the default "Static" runtime generation is not rebuilt in PIE; build in the editor before starting PIE, or switch to Dynamic.
- Query tools return
found:false/valid:false(not an error) when the point or path is off the mesh; they fail only when there is no navigation system or no navigation data at all. - Polygon references change when tiles are rebuilt; fetch fresh ones after a build.
nav.fit_bounds_to_levelincludes every actor with bounds (landscapes too); prefernav.fit_bounds_to_actorswith explicit actors.Tools/nav_integration_smoke.py --project <dir>covers the asynchronous path (bounds, floor, build,nav.wait_buildfrom an off-thread request, projections, path, cleanup) as separate MCP calls.- Not available: the viewport navigation show flag, OBJ export and segment-link editing.
Tools
Legend. risk 0 = read-only, 1 = harmless editor op, 2 = modifies asset, 3 = deletes/replaces asset, 4 = project/config/build op, 5 = potentially destructive (calls above
MaxAutoRiskneed"_confirm": true). mutates = runs in a transaction (edit.undo reverts). requires PIE / requires world = refused without a PIE session / an open level. requires plugin = unavailable while the plugin is disabled. dryRun = honours thedryRunargument. smoke = covered byedit.self_test.
nav.add_agent (risk 4)
Adds a supported agent to project navigation settings.
| Argument | Type | Description |
|---|---|---|
name | string | required. Unique supported-agent name. |
radius | string | Agent radius; empty preserves it. |
height | string | Agent height; empty preserves it. |
stepHeight | string | Agent step height; empty preserves it. |
navDataClass | string | Optional navigation-data class. |
Returns: items, count, values, message.
nav.add_bounds_volume (risk 2, mutates, requires world, smoke)
Adds a NavMeshBoundsVolume with a box brush using the requested half extents.
| Argument | Type | Description |
|---|---|---|
name | string | Editor label for the new actor. Default TEXT("NavBounds"). |
location | {x,y,z} | Centre in centimetres. |
extent | {x,y,z} | Box half extents in centimetres, each greater than zero. Default FUeaVec3(1000.0,1000.0,500.0). |
Returns: items, count, values, message.
nav.add_build_lock (risk 4, mutates, requires world, smoke)
Prevents automatic navigation rebuild work until a matching release call.
| Argument | Type | Description |
|---|---|---|
flags | integer | Bitmask accepted by UNavigationSystemV1 build-lock APIs. Default 1. |
rebuildOnRelease | boolean | Rebuild navigation when releasing the lock. Default true. |
Returns: available, building, remainingTasks, boundsVolumes, navDataCount, autoUpdate, dirty, message.
nav.add_invoker (risk 2, mutates, requires world, smoke)
Adds a navigation invoker component (tiles generated around the actor when invoker-only generation is on).
| Argument | Type | Description |
|---|---|---|
actor | string | required. Owner actor label/name. |
generationRadius | number | required. Positive tile generation radius in centimetres. |
removalRadius | number | required. Removal radius in centimetres, at least generation radius. |
Returns: items, count, values, message.
nav.add_link_component (risk 2, mutates, requires world, smoke)
Adds a NavLinkComponent with one link (points relative to the actor) to any actor.
| Argument | Type | Description |
|---|---|---|
actor | string | required. Owner actor label/name. |
componentName | string | Link component name; empty selects the actor's only NavLinkComponent (add: name of the new component). |
index | integer | Link index inside the component. Default 0. |
start | {x,y,z} | Left point relative to the owner actor in centimetres. |
end | {x,y,z} | Right point relative to the owner actor in centimetres. Default FUeaVec3(100.0, 0.0, 0.0). |
bidirectional | boolean | Both-way traversal. Default true. |
areaClass | string | Optional NavArea class. |
Returns: actor, component, links, count, message.
nav.add_link_component_link (risk 2, mutates, requires world, smoke)
Appends a link (points relative to the actor) to a NavLinkComponent.
| Argument | Type | Description |
|---|---|---|
actor | string | required. Owner actor label/name. |
componentName | string | Link component name; empty selects the actor's only NavLinkComponent (add: name of the new component). |
index | integer | Link index inside the component. Default 0. |
start | {x,y,z} | Left point relative to the owner actor in centimetres. |
end | {x,y,z} | Right point relative to the owner actor in centimetres. Default FUeaVec3(100.0, 0.0, 0.0). |
bidirectional | boolean | Both-way traversal. Default true. |
areaClass | string | Optional NavArea class. |
Returns: actor, component, links, count, message.
nav.add_link_proxy (risk 2, mutates, requires world, smoke)
Adds a NavLinkProxy with one simple link between two world points.
| Argument | Type | Description |
|---|---|---|
name | string | Editor label for the link proxy. Default TEXT("NavLink"). |
start | {x,y,z} | required. Left endpoint in world centimetres. |
end | {x,y,z} | required. Right endpoint in world centimetres. |
bidirectional | boolean | Whether traversal is allowed in both directions. Default true. |
areaClass | string | Optional NavArea class path or short name. |
Returns: items, count, values, message.
nav.add_modifier_component (risk 2, mutates, requires world, smoke)
Adds a NavModifierComponent to an actor.
| Argument | Type | Description |
|---|---|---|
actor | string | required. Owner actor label/name. |
componentName | string | Component name; empty selects the actor's only modifier component. |
areaClass | string | NavArea class path/name; empty preserves it ("None" clears a replacement area). |
extent | {x,y,z} | Failsafe box half extent in centimetres (used when the owner has no collision); zero keeps it. |
includeAgentHeight | string | Expand the modifier bottom by the agent height (true/false); empty keeps it. |
Returns: items, count, values, message.
nav.add_modifier_volume (risk 2, mutates, requires world, smoke)
Adds a NavModifierVolume applying an area over a box.
| Argument | Type | Description |
|---|---|---|
name | string | Actor label/name for a new volume. |
areaClass | string | required. NavArea class path/name ("None" clears a replacement area). |
location | {x,y,z} | Centre in centimetres. |
extent | {x,y,z} | Positive brush half extents. Default FUeaVec3(500,500,250). |
actor | string | Existing actor reference for setters/components. |
Returns: items, count, values, message.
nav.add_simple_link (risk 2, mutates, requires world, smoke)
Appends a simple link (world points) to a NavLinkProxy and returns its index.
| Argument | Type | Description |
|---|---|---|
actor | string | required. NavLinkProxy actor label/name. |
index | integer | Simple-link index. Default 0. |
start | {x,y,z} | Link start in world centimetres. |
end | {x,y,z} | Link end in world centimetres. |
bidirectional | boolean | Both-way traversal. Default true. |
areaClass | string | Optional NavArea class. |
enabled | boolean | Smart link enabled state. Default true. |
Returns: items, count, values, message.
nav.audit (risk 0, requires world, smoke)
Counts navigation actors, links, invokers and tiles.
No arguments.
Returns: items, count, values, message.
nav.audit_bounds_coverage (risk 0, requires world, smoke)
Audits whether each generated Recast mesh intersects any registered bounds volume.
No arguments.
Returns: issues, count.
nav.audit_links (risk 0, requires world, smoke)
Audits every link proxy in the level for endpoints that are off the navmesh.
No arguments.
Returns: issues, count.
nav.audit_modifiers (risk 0, requires world, smoke)
Audits modifier volumes for empty bounds.
No arguments.
Returns: issues, count.
nav.batch_project_points (risk 0, requires world, smoke)
Projects up to 1000 points in one call.
| Argument | Type | Description |
|---|---|---|
points | array of {x,y,z} | required. 1..1000 world points in centimetres. |
extent | {x,y,z} | Projection half extent in centimetres. Default FUeaVec3(100.0,100.0,200.0). |
navData | string | Navigation data label/name. |
agent | string | Supported agent name. |
Returns: samples, count, navigable, fraction, navData.
nav.batch_set_actor_nav (risk 2, mutates, requires world, smoke)
Applies navigation relevance settings to several named actors.
| Argument | Type | Description |
|---|---|---|
actors | array of string | required. Actor references to update; every one must exist or nothing changes. |
canAffect | string | Optional can-affect-navigation value as true or false. |
dynamicObstacle | string | Optional dynamic-obstacle value as true or false. |
areaClass | string | Optional NavArea class path or name. |
Returns: items, count, values, message.
nav.batch_set_smart_links (risk 2, mutates, requires world, smoke)
Sets the smart link enabled state on several proxies.
| Argument | Type | Description |
|---|---|---|
actors | array of string | required. NavLinkProxy actor labels or names. |
enabled | boolean | required. Desired smart-link enabled state. |
Returns: items, count, values, message.
nav.batch_test_paths (risk 0, requires world, smoke)
Tests a batch of independent start/end pairs and returns aggregate results.
| Argument | Type | Description |
|---|---|---|
paths | array of UeaNavPathArgs | required. Start/end pairs in centimetres (each may carry its own selectors). |
Returns: items, count, values, message.
nav.build (risk 4, requires world, smoke)
Builds navigation for the editor world and blocks until the tiles are generated (engine Build Paths); pending bounds and octree updates are flushed first.
No arguments.
Returns: available, building, remainingTasks, boundsVolumes, navDataCount, autoUpdate, dirty, message.
nav.cancel_build (risk 4, requires world, smoke)
Cancels a navigation build if one is running.
No arguments.
Returns: available, building, remainingTasks, boundsVolumes, navDataCount, autoUpdate, dirty, message.
nav.clear_build_history (risk 1, smoke)
Clears the session build history kept by the nav tools.
No arguments.
Returns: records, count, total.
nav.clear_smart_link_obstacle (risk 2, mutates, requires world, smoke)
Removes the smart-link box obstacle.
| Argument | Type | Description |
|---|---|---|
actor | string | required. Actor label or object name (must match exactly one actor). |
Returns: links, count, message.
nav.copy_simple_to_smart_link (risk 2, mutates, requires world, smoke)
Copies the first simple link's endpoints into the smart link (editor helper of NavLinkProxy).
| Argument | Type | Description |
|---|---|---|
actor | string | required. Actor label or object name (must match exactly one actor). |
Returns: links, count, message.
nav.create_agent_blueprint (risk 2, mutates, smoke)
Creates a Character Blueprint ready for AI navigation: AIController class, auto-possess placed/spawned, navigation walking capabilities.
| Argument | Type | Description |
|---|---|---|
folder | string | required. Destination content folder. |
name | string | required. New Blueprint asset name. |
controllerClass | string | AIController class path or name; empty uses AIController. |
Returns: blueprint, controllerClass, autoPossessAI, useRvo, rvoRadius, rvoWeight, agentRadius, agentHeight, agentStepHeight, canCrouch, canJump, canWalk, canSwim, canFly, useAccelerationForPaths, updateNavAgentWithOwnersCollision, message.
nav.create_area_blueprint (risk 2, mutates, smoke)
Creates a NavArea Blueprint asset (optionally child of another NavArea class).
| Argument | Type | Description |
|---|---|---|
folder | string | required. Destination content folder. |
name | string | required. New NavArea asset name. |
parentClass | string | Parent NavArea class path or name; empty uses NavArea. |
Returns: items, count, values, message.
nav.create_query_filter_blueprint (risk 2, mutates, smoke)
Creates a NavigationQueryFilter Blueprint (per-area cost overrides and exclusions for path queries and AI moves).
| Argument | Type | Description |
|---|---|---|
folder | string | required. Destination content folder. |
name | string | required. New asset name. |
Returns: filter, areas, includeFlags, excludeFlags, count, message.
nav.create_test_character (risk 2, mutates, requires world, smoke)
Spawns a Character in the editor world (tagged UeaNavTest) as a fixture for RVO, path-to-actor and projection tests; remove it with nav.remove_test_actors.
| Argument | Type | Description |
|---|---|---|
name | string | Editor label for the new actor. Default TEXT("NavBounds"). |
location | {x,y,z} | Centre in centimetres. |
extent | {x,y,z} | Box half extents in centimetres, each greater than zero. Default FUeaVec3(1000.0,1000.0,500.0). |
Returns: items, count, values, message.
nav.create_test_floor (risk 2, mutates, requires world, smoke)
Creates a flat static floor (engine Cube scaled to extent.x/extent.y, 10 cm thick, tagged UeaNavTest) for navigation tests.
| Argument | Type | Description |
|---|---|---|
name | string | Editor label for the new actor. Default TEXT("NavBounds"). |
location | {x,y,z} | Centre in centimetres. |
extent | {x,y,z} | Box half extents in centimetres, each greater than zero. Default FUeaVec3(1000.0,1000.0,500.0). |
Returns: items, count, values, message.
nav.diagnose_build (risk 0, requires world, smoke)
Explains why navigation is empty or stale: missing system/bounds/nav data, invoker-only mode without invokers, disabled auto-update, empty tiles, dirty areas.
No arguments.
Returns: ready, issues, count.
nav.duplicate_area (risk 2, mutates, smoke)
Duplicates a NavArea Blueprint asset (costs, colour and agents included).
| Argument | Type | Description |
|---|---|---|
source | string | required. Source NavArea Blueprint asset path or unique name. |
folder | string | required. Destination content folder. |
name | string | required. New asset name. |
Returns: items, count, values, message.
nav.find_actors_by_area (risk 0, requires world, smoke)
Finds every level element that uses a NavArea: modifier volumes/components, obstacles, simple links, link components, smart links, replacements.
| Argument | Type | Description |
|---|---|---|
area | string | required. NavArea class path or name. |
Returns: areaClass, users, count.
nav.find_distance_to_wall (risk 0, requires world, smoke)
Distance from a navmesh point to the nearest navmesh wall (edge) and the wall point.
| Argument | Type | Description |
|---|---|---|
point | {x,y,z} | required. Point on the navmesh in centimetres. |
maxDistance | number | Search limit in centimetres. Default 5000.0. |
navData | string | RecastNavMesh label/name. |
filterClass | string | NavigationQueryFilter class; empty uses the default filter. |
Returns: found, distance, wallPoint, navData.
nav.find_nav_blockers (risk 0, requires world, smoke)
Lists navigation-relevant components whose collision is disabled.
No arguments.
Returns: items, count, values, message.
nav.find_path (risk 0, requires world, smoke)
Finds a synchronous path (points, length, cost, failure cause); navData/agent/filterClass select the data and filter.
| Argument | Type | Description |
|---|---|---|
start | {x,y,z} | required. Path start in centimetres. |
end | {x,y,z} | required. Path end in centimetres. |
navData | string | Navigation data actor label/name; empty uses the agent's data or the world's default navigation data. |
agent | string | Supported agent name (project navigation settings) whose navigation data is queried; empty uses navData or the default. |
filterClass | string | NavigationQueryFilter class path or name (e.g. a Blueprint filter); empty uses the navigation data's default filter. |
allowPartial | boolean | Accept partial paths that end at the closest reachable point. Default true. |
Returns: valid, partial, points, length, cost, navData, result, message.
nav.find_path_to_actor (risk 0, requires world, smoke)
Finds a path to a moving actor and preserves its goal tether metadata.
| Argument | Type | Description |
|---|---|---|
start | {x,y,z} | required. Path start in centimetres. |
goalActor | string | required. Goal actor label or name. |
tetherDistance | number | Moving-goal tether distance in centimetres. Default 50.0. |
Returns: valid, partial, points, length, cost, navData, result, message.
nav.fit_bounds_to_actors (risk 2, mutates, requires world, smoke)
Fits a bounds volume around explicitly supplied actor bounds.
| Argument | Type | Description |
|---|---|---|
boundsActor | string | required. NavMeshBoundsVolume actor label or name. |
actors | array of string | Actors whose combined bounds are fitted, when nonempty. |
padding | {x,y,z} | Padding added to each fitted box dimension in centimetres. Default FUeaVec3(100.0,100.0,100.0). |
Returns: items, count, values, message.
nav.fit_bounds_to_level (risk 2, mutates, requires world, smoke)
Fits a bounds volume around all navigationally relevant level actors.
| Argument | Type | Description |
|---|---|---|
boundsActor | string | required. NavMeshBoundsVolume actor label or name. |
actors | array of string | Actors whose combined bounds are fitted, when nonempty. |
padding | {x,y,z} | Padding added to each fitted box dimension in centimetres. Default FUeaVec3(100.0,100.0,100.0). |
Returns: items, count, values, message.
nav.get_actor_nav (risk 0, requires world, smoke)
Reads navigation relevance and obstacle settings from an actor's primitive components.
| Argument | Type | Description |
|---|---|---|
actor | string | required. Actor label or object name (must match exactly one actor). |
Returns: items, count, values, message.
nav.get_agent_blueprint (risk 0, smoke)
Returns the navigation defaults of a Character Blueprint: controller, auto-possess, RVO, nav agent size/capabilities and path following flags.
| Argument | Type | Description |
|---|---|---|
blueprint | string | required. Character Blueprint asset path or unique name. |
controllerClass | string | AIController class path or name. |
autoPossessAI | string | Disabled, PlacedInWorld, Spawned or PlacedInWorldOrSpawned. |
useRvo | string | RVO avoidance (true/false). |
rvoRadius | string | RVO consideration radius in centimetres. |
rvoWeight | string | RVO avoidance weight 0..1. |
agentRadius | string | Navigation agent radius in centimetres. |
agentHeight | string | Navigation agent height in centimetres. |
agentStepHeight | string | Navigation agent step height in centimetres (negative = navmesh default). |
canCrouch | string | Can crouch (true/false). |
canJump | string | Can jump (true/false). |
canWalk | string | Can walk (true/false). |
canSwim | string | Can swim (true/false). |
canFly | string | Can fly (true/false). |
useAccelerationForPaths | string | Path following drives acceleration instead of velocity (true/false). |
updateNavAgentWithOwnersCollision | string | Update agent radius/height from the collision capsule (true/false). |
Returns: blueprint, controllerClass, autoPossessAI, useRvo, rvoRadius, rvoWeight, agentRadius, agentHeight, agentStepHeight, canCrouch, canJump, canWalk, canSwim, canFly, useAccelerationForPaths, updateNavAgentWithOwnersCollision, message.
nav.get_area (risk 0, smoke)
Reads NavArea defaults: costs, flags, draw colour and supported agents.
| Argument | Type | Description |
|---|---|---|
area | string | required. NavArea class path or name. |
Returns: items, count, values, message.
nav.get_area_id_map (risk 0, requires world, smoke)
Returns the Recast area id to NavArea class map of a navigation data actor.
| Argument | Type | Description |
|---|---|---|
navData | string | Navigation data actor label/name; empty selects the only navigation data in the world. |
Returns: areas, count, navData.
nav.get_bounds_coverage (risk 0, requires world, smoke)
Returns the combined world bounds of all NavMeshBoundsVolume actors.
No arguments.
Returns: items, count, values, message.
nav.get_build_history (risk 0, smoke)
Returns the builds run through nav tools in this editor session (tool, duration, tiles before/after), newest first.
| Argument | Type | Description |
|---|---|---|
limit | integer | Maximum records returned, newest first (1..500). Default 20. |
Returns: records, count, total.
nav.get_build_status (risk 0, requires world, smoke)
Returns navigation build state, task count and actor counts.
No arguments.
Returns: available, building, remainingTasks, boundsVolumes, navDataCount, autoUpdate, dirty, message.
nav.get_crowd_settings (risk 0, smoke)
Returns project crowd manager settings and every avoidance profile, typed.
No arguments.
Returns: maxAgents, maxAgentRadius, maxAvoidedAgents, maxAvoidedWalls, profiles, message.
nav.get_draw_flags (risk 0, requires world, smoke)
Returns every RecastNavMesh debug-draw flag supported by this engine version, the master drawing switch and the draw offset.
| Argument | Type | Description |
|---|---|---|
navData | string | Navigation data actor label/name; empty selects the only navigation data in the world. |
Returns: navData, enableDrawing, flags, drawOffset, message.
nav.get_link_component (risk 0, requires world, smoke)
Returns every link of one NavLinkComponent with all fields and endpoint projection status.
| Argument | Type | Description |
|---|---|---|
actor | string | required. Owner actor label/name. |
componentName | string | Link component name; empty selects the actor's only NavLinkComponent (add: name of the new component). |
index | integer | Link index inside the component. Default 0. |
start | {x,y,z} | Left point relative to the owner actor in centimetres. |
end | {x,y,z} | Right point relative to the owner actor in centimetres. Default FUeaVec3(100.0, 0.0, 0.0). |
bidirectional | boolean | Both-way traversal. Default true. |
areaClass | string | Optional NavArea class. |
Returns: actor, component, links, count, message.
nav.get_link_proxy (risk 0, requires world, smoke)
Returns the proxy summary: simple/segment link counts and smart link state.
| Argument | Type | Description |
|---|---|---|
actor | string | required. Actor label or object name (must match exactly one actor). |
Returns: items, count, values, message.
nav.get_modifier_component (risk 0, requires world, smoke)
Returns one NavModifierComponent's areas.
| Argument | Type | Description |
|---|---|---|
actor | string | required. Owner actor label/name. |
componentName | string | Component name; empty selects the actor's only modifier component. |
areaClass | string | NavArea class path/name; empty preserves it ("None" clears a replacement area). |
extent | {x,y,z} | Failsafe box half extent in centimetres (used when the owner has no collision); zero keeps it. |
includeAgentHeight | string | Expand the modifier bottom by the agent height (true/false); empty keeps it. |
Returns: items, count, values, message.
nav.get_modifier_volume (risk 0, requires world, smoke)
Returns a NavModifierVolume's bounds and areas.
| Argument | Type | Description |
|---|---|---|
actor | string | required. Actor label or object name (must match exactly one actor). |
Returns: items, count, values, message.
nav.get_nav_data (risk 0, requires world, smoke)
Returns one navigation data actor typed: agent, runtime generation, registration, default flag, drawing, tile count and bounds.
| Argument | Type | Description |
|---|---|---|
navData | string | Navigation data actor label/name; empty selects the only navigation data in the world. |
Returns: navData, count, message.
nav.get_navmesh (risk 0, requires world, smoke)
Returns the main RecastNavMesh generation settings of the only RecastNavMesh in the level.
No arguments.
Returns: items, count, values, message.
nav.get_navmesh_bounds (risk 0, requires world, smoke)
Returns the aggregate bounds occupied by the generated Recast mesh.
No arguments.
Returns: items, count, values, message.
nav.get_navmesh_properties (risk 0, requires world, smoke)
Reads named reflected Recast fields without changing the navmesh.
| Argument | Type | Description |
|---|---|---|
properties | array of UeaKeyValue | required. Property/value pairs on the navigation settings object. |
Returns: items, count, values, message.
nav.get_path_corridor (risk 0, requires world, smoke)
Finds a path and returns its polygon corridor (poly refs, centres, areas, tiles, costs) and link segments.
| Argument | Type | Description |
|---|---|---|
start | {x,y,z} | required. Path start in centimetres. |
end | {x,y,z} | required. Path end in centimetres. |
navData | string | Navigation data actor label/name; empty uses the agent's data or the world's default navigation data. |
agent | string | Supported agent name (project navigation settings) whose navigation data is queried; empty uses navData or the default. |
filterClass | string | NavigationQueryFilter class path or name (e.g. a Blueprint filter); empty uses the navigation data's default filter. |
allowPartial | boolean | Accept partial paths that end at the closest reachable point. Default true. |
Returns: valid, partial, navData, points, linkSegments, polys, areas, length, cost, message.
nav.get_path_cost (risk 0, requires world, smoke)
Returns the path cost with the selected navigation data and filter.
| Argument | Type | Description |
|---|---|---|
start | {x,y,z} | required. Path start in centimetres. |
end | {x,y,z} | required. Path end in centimetres. |
navData | string | Navigation data actor label/name; empty uses the agent's data or the world's default navigation data. |
agent | string | Supported agent name (project navigation settings) whose navigation data is queried; empty uses navData or the default. |
filterClass | string | NavigationQueryFilter class path or name (e.g. a Blueprint filter); empty uses the navigation data's default filter. |
allowPartial | boolean | Accept partial paths that end at the closest reachable point. Default true. |
Returns: valid, partial, points, length, cost, navData, result, message.
nav.get_path_length (risk 0, requires world, smoke)
Returns the path length with the selected navigation data and filter.
| Argument | Type | Description |
|---|---|---|
start | {x,y,z} | required. Path start in centimetres. |
end | {x,y,z} | required. Path end in centimetres. |
navData | string | Navigation data actor label/name; empty uses the agent's data or the world's default navigation data. |
agent | string | Supported agent name (project navigation settings) whose navigation data is queried; empty uses navData or the default. |
filterClass | string | NavigationQueryFilter class path or name (e.g. a Blueprint filter); empty uses the navigation data's default filter. |
allowPartial | boolean | Accept partial paths that end at the closest reachable point. Default true. |
Returns: valid, partial, points, length, cost, navData, result, message.
nav.get_path_metrics (risk 0, requires world, smoke)
Returns path length and cost in one request.
| Argument | Type | Description |
|---|---|---|
start | {x,y,z} | required. Path start in centimetres. |
end | {x,y,z} | required. Path end in centimetres. |
navData | string | Navigation data actor label/name; empty uses the agent's data or the world's default navigation data. |
agent | string | Supported agent name (project navigation settings) whose navigation data is queried; empty uses navData or the default. |
filterClass | string | NavigationQueryFilter class path or name (e.g. a Blueprint filter); empty uses the navigation data's default filter. |
allowPartial | boolean | Accept partial paths that end at the closest reachable point. Default true. |
Returns: valid, partial, points, length, cost, navData, result, message.
nav.get_poly_at (risk 0, requires world, smoke)
Returns the nearest polygon reference and projected point for a location.
| Argument | Type | Description |
|---|---|---|
point | {x,y,z} | required. World point in centimetres. |
extent | {x,y,z} | Half extent of the projection search box in centimetres. Default FUeaVec3(100.0,100.0,200.0). |
navData | string | Navigation data label/name; empty uses the agent's data or the default navigation data. |
agent | string | Supported agent name; empty uses navData or the default. |
filterClass | string | NavigationQueryFilter class; empty uses the default filter. |
Returns: found, point, distance, polyRef, message.
nav.get_poly_info (risk 0, requires world, smoke)
Returns a polygon's centre, vertices, area id/class, flags, tile and neighbours (polyRef, or empty polyRef + point to use the nearest polygon).
| Argument | Type | Description |
|---|---|---|
polyRef | string | Polygon reference (decimal, from nav.get_poly_at / nav.project_point); empty uses point. |
point | {x,y,z} | Point in centimetres whose nearest polygon is described when polyRef is empty. |
extent | {x,y,z} | Search half extent around point in centimetres. Default FUeaVec3(100.0,100.0,200.0). |
navData | string | RecastNavMesh label/name; empty selects the only one. |
Returns: polyRef, center, verts, areaId, areaClass, polyFlags, areaFlags, tileIndex, polyIndex, neighbors, navData.
nav.get_polys_in_box (risk 0, requires world, smoke)
Lists polygons overlapping a box (filtered by a query filter).
| Argument | Type | Description |
|---|---|---|
center | {x,y,z} | required. Box centre in centimetres. |
extent | {x,y,z} | required. Positive half extents in centimetres. |
limit | integer | Maximum polygons returned (1..5000). Default 200. |
navData | string | RecastNavMesh label/name. |
filterClass | string | NavigationQueryFilter class; empty uses the default filter. |
Returns: polys, count, total, truncated, navData.
nav.get_query_filter (risk 0, smoke)
Returns the area overrides and include/exclude flags of a query filter.
| Argument | Type | Description |
|---|---|---|
filter | string | required. NavigationQueryFilter Blueprint asset path, class path or name. |
Returns: filter, areas, includeFlags, excludeFlags, count, message.
nav.get_query_settings (risk 0, requires world, smoke)
Returns the path query tuning of a RecastNavMesh: search node limits, heuristic scale, vertical compensation, corner offsets.
| Argument | Type | Description |
|---|---|---|
navData | string | Navigation data actor label/name; empty selects the only navigation data in the world. |
Returns: navData, maxSearchNodes, maxHierarchicalSearchNodes, heuristicScale, verticalDeviationFromGroundCompensation, useBetterOffsetsFromCorners, allowNavLinkAsPathEnd, useVirtualFilters, message.
nav.get_resolution (risk 0, requires world, smoke)
Returns cell size, cell height and step height per navmesh resolution (Low/Default/High on UE 5.2+, one row before).
| Argument | Type | Description |
|---|---|---|
navData | string | Navigation data actor label/name; empty selects the only navigation data in the world. |
Returns: navData, perResolution, rows, message.
nav.get_rvo_avoidance (risk 0, requires world, smoke)
Reads RVO avoidance of a placed Character.
| Argument | Type | Description |
|---|---|---|
actor | string | required. Actor label or object name (must match exactly one actor). |
Returns: items, count, values, message.
nav.get_settings (risk 0, smoke)
Returns navigation-system settings exposed safely on both supported engines.
No arguments.
Returns: items, count, values, message.
nav.get_simple_link (risk 0, requires world, smoke)
Returns one simple link with all fields and endpoint projection status.
| Argument | Type | Description |
|---|---|---|
actor | string | required. NavLinkProxy actor label/name. |
index | integer | Simple-link index. Default 0. |
start | {x,y,z} | Link start in world centimetres. |
end | {x,y,z} | Link end in world centimetres. |
bidirectional | boolean | Both-way traversal. Default true. |
areaClass | string | Optional NavArea class. |
enabled | boolean | Smart link enabled state. Default true. |
Returns: actor, component, links, count, message.
nav.get_smart_link (risk 0, requires world, smoke)
Returns the full smart-link state of a proxy: points, direction, areas, broadcast, obstacle, endpoint projection.
| Argument | Type | Description |
|---|---|---|
actor | string | required. Actor label or object name (must match exactly one actor). |
Returns: links, count, message.
nav.get_stats (risk 0, requires world, smoke)
Returns nav mesh tile count and generation settings.
No arguments.
Returns: items, count, values, message.
nav.get_tile_at (risk 0, requires world, smoke)
Returns the tile grid coordinates under a point and the populated tile slots (layers) at those coordinates.
| Argument | Type | Description |
|---|---|---|
point | {x,y,z} | required. World point in centimetres. |
navData | string | RecastNavMesh label/name; empty selects the only one. |
Returns: tiles, count, truncated, navData, message.
nav.get_tile_bounds (risk 0, requires world, smoke)
Returns one populated Recast tile's bounds.
| Argument | Type | Description |
|---|---|---|
tileIndex | integer | required. Zero-based tile index returned by list_tiles. |
navData | string | RecastNavMesh label/name; empty selects the only one. |
limit | integer | Maximum polygons returned by list_polys_in_tile (1..5000). Default 200. |
Returns: items, count, values, message.
nav.get_tile_cache (risk 0, requires world, smoke)
Returns tile pool and generation job settings of a RecastNavMesh.
| Argument | Type | Description |
|---|---|---|
navData | string | Navigation data actor label/name; empty selects the only navigation data in the world. |
Returns: navData, fixedTilePoolSize, tilePoolSize, tileNumberHardLimit, maxSimultaneousJobs, storeEmptyTileLayers, useVoxelCache, tileSetUpdateInterval, tileSizeUU, tileCount, message.
nav.get_tile_count (risk 0, requires world, smoke)
Returns the Recast tile slot count, including currently empty slots.
No arguments.
Returns: items, count, values, message.
nav.has_complete_data (risk 0, requires world, smoke)
Tells whether every tile around a point has generated data (invoker/streaming readiness).
| Argument | Type | Description |
|---|---|---|
point | {x,y,z} | required. Point in centimetres. |
radius | number | Radius in centimetres. Default 1000.0. |
navData | string | RecastNavMesh label/name. |
Returns: complete, navData, message.
nav.is_navigable (risk 0, requires world, smoke)
Tests whether a point projects to navigation.
| Argument | Type | Description |
|---|---|---|
point | {x,y,z} | required. World point in centimetres. |
extent | {x,y,z} | Half extent of the projection search box in centimetres. Default FUeaVec3(100.0,100.0,200.0). |
navData | string | Navigation data label/name; empty uses the agent's data or the default navigation data. |
agent | string | Supported agent name; empty uses navData or the default. |
filterClass | string | NavigationQueryFilter class; empty uses the default filter. |
Returns: found, point, distance, polyRef, message.
nav.list_agents (risk 0, smoke)
Lists configured navigation agents.
No arguments.
Returns: items, count, values, message.
nav.list_area_classes (risk 0, smoke)
Lists loaded NavArea classes.
No arguments.
Returns: items, count, values, message.
nav.list_bounds_volumes (risk 0, requires world, smoke)
Lists NavMeshBoundsVolume actors.
No arguments.
Returns: items, count, values, message.
nav.list_invokers (risk 0, requires world, smoke)
Lists navigation invoker components in the editor level.
No arguments.
Returns: items, count, values, message.
nav.list_link_components (risk 0, requires world, smoke)
Lists the NavLinkComponents of an actor with their link counts.
| Argument | Type | Description |
|---|---|---|
actor | string | required. Actor label or object name (must match exactly one actor). |
Returns: actor, components, count.
nav.list_link_proxies (risk 0, requires world, smoke)
Lists NavLinkProxy actors and their simple-link counts.
No arguments.
Returns: items, count, values, message.
nav.list_modifier_components (risk 0, requires world, smoke)
Lists the NavModifierComponents of an actor.
| Argument | Type | Description |
|---|---|---|
actor | string | required. Actor label or object name (must match exactly one actor). |
Returns: items, count, values, message.
nav.list_modifier_volumes (risk 0, requires world, smoke)
Lists NavModifierVolume actors.
No arguments.
Returns: items, count, values, message.
nav.list_modifiers (risk 0, requires world, smoke)
Lists every modifier volume and component of the level with area, replacement, resolution and bounds.
No arguments.
Returns: modifiers, count.
nav.list_nav_data (risk 0, requires world, smoke)
Lists navigation data actors in the editor world, typed (agent, runtime generation, default flag, tiles, bounds).
No arguments.
Returns: navData, count, message.
nav.list_nav_relevant_actors (risk 0, requires world, smoke)
Lists actors whose components can affect navigation, with their dynamic-obstacle components.
| Argument | Type | Description |
|---|---|---|
limit | integer | Maximum entries returned (1..10000). Default 200. |
Returns: actors, count, truncated.
nav.list_polys_in_tile (risk 0, requires world, smoke)
Lists the polygons of one tile slot.
| Argument | Type | Description |
|---|---|---|
tileIndex | integer | required. Zero-based tile index returned by list_tiles. |
navData | string | RecastNavMesh label/name; empty selects the only one. |
limit | integer | Maximum polygons returned by list_polys_in_tile (1..5000). Default 200. |
Returns: polys, count, total, truncated, navData.
nav.list_query_filters (risk 0, smoke)
Lists loaded NavigationQueryFilter classes (Blueprint filters appear once loaded or created).
No arguments.
Returns: items, count, values, message.
nav.list_registered_bounds (risk 0, requires world, smoke)
Lists the bounds registered with the navigation system (what the generator really uses) with their supported agents.
No arguments.
Returns: bounds, count, worldMin, worldMax.
nav.list_simple_links (risk 0, requires world, smoke)
Lists every simple link of a proxy with all fields and whether each endpoint projects to generated navigation.
| Argument | Type | Description |
|---|---|---|
actor | string | required. Actor label or object name (must match exactly one actor). |
Returns: actor, component, links, count, message.
nav.list_smart_links (risk 0, requires world, smoke)
Lists the smart-link state of every NavLinkProxy in the level.
No arguments.
Returns: links, count, message.
nav.list_tile_refs (risk 0, UE 5.5+, requires world, smoke)
Lists populated tiles by tile ref with grid coordinates, layer, bounds, polygon count and resolution. UE 5.5+.
| Argument | Type | Description |
|---|---|---|
navData | string | RecastNavMesh label/name; empty selects the only one. |
limit | integer | Maximum tiles returned (1..5000). Default 200. |
Returns: tiles, count, truncated, navData, message.
nav.list_tiles (risk 0, requires world, smoke)
Lists tile bounds for the only Recast navmesh.
No arguments.
Returns: items, count, values, message.
nav.project_actor (risk 0, requires world, smoke)
Projects an editor actor origin onto the navigation mesh.
| Argument | Type | Description |
|---|---|---|
actor | string | required. Actor label or name. |
extent | {x,y,z} | Half extent of the projection search box in centimetres (x is also the random radius). Default FUeaVec3(100.0,100.0,200.0). |
Returns: found, point, distance, polyRef, message.
nav.project_point (risk 0, requires world, smoke)
Projects a point onto the navmesh.
| Argument | Type | Description |
|---|---|---|
point | {x,y,z} | required. World point in centimetres. |
extent | {x,y,z} | Half extent of the projection search box in centimetres. Default FUeaVec3(100.0,100.0,200.0). |
navData | string | Navigation data label/name; empty uses the agent's data or the default navigation data. |
agent | string | Supported agent name; empty uses navData or the default. |
filterClass | string | NavigationQueryFilter class; empty uses the default filter. |
Returns: found, point, distance, polyRef, message.
nav.random_navigable_from_actor (risk 0, requires world, smoke)
Samples a navigable point around an editor actor origin.
| Argument | Type | Description |
|---|---|---|
actor | string | required. Actor label or name. |
extent | {x,y,z} | Half extent of the projection search box in centimetres (x is also the random radius). Default FUeaVec3(100.0,100.0,200.0). |
Returns: found, point, distance, polyRef, message.
nav.random_navigable_point (risk 0, requires world, smoke)
Finds a random navigable point within a radius.
| Argument | Type | Description |
|---|---|---|
origin | {x,y,z} | required. Search origin in centimetres. |
radius | number | required. Positive radius in centimetres. |
Returns: found, point, distance, polyRef, message.
nav.random_points (risk 0, requires world, smoke)
Returns up to 100 random points (reachable from the origin or merely navigable) in one call.
| Argument | Type | Description |
|---|---|---|
origin | {x,y,z} | required. Origin in centimetres. |
radius | number | required. Positive radius in centimetres. |
count | integer | Points requested (1..100). Default 10. |
reachable | boolean | Only points reachable from the origin. Default true. |
navData | string | Navigation data label/name. |
agent | string | Supported agent name. |
Returns: points, count, navData.
nav.random_reachable_from_actor (risk 0, requires world, smoke)
Samples a reachable point around an editor actor origin.
| Argument | Type | Description |
|---|---|---|
actor | string | required. Actor label or name. |
extent | {x,y,z} | Half extent of the projection search box in centimetres (x is also the random radius). Default FUeaVec3(100.0,100.0,200.0). |
Returns: found, point, distance, polyRef, message.
nav.random_reachable_point (risk 0, requires world, smoke)
Finds a random reachable navigation point within a radius.
| Argument | Type | Description |
|---|---|---|
origin | {x,y,z} | required. Search origin in centimetres. |
radius | number | required. Positive radius in centimetres. |
Returns: found, point, distance, polyRef, message.
nav.raycast (risk 0, requires world, smoke)
Performs a navigation raycast between two points.
| Argument | Type | Description |
|---|---|---|
start | {x,y,z} | required. Path start in centimetres. |
end | {x,y,z} | required. Path end in centimetres. |
navData | string | Navigation data actor label/name; empty uses the agent's data or the world's default navigation data. |
agent | string | Supported agent name (project navigation settings) whose navigation data is queried; empty uses navData or the default. |
filterClass | string | NavigationQueryFilter class path or name (e.g. a Blueprint filter); empty uses the navigation data's default filter. |
allowPartial | boolean | Accept partial paths that end at the closest reachable point. Default true. |
Returns: found, point, distance, polyRef, message.
nav.raycast_actors (risk 0, requires world, smoke)
Raycasts between an editor point and an actor origin.
| Argument | Type | Description |
|---|---|---|
start | {x,y,z} | required. Path start in centimetres. |
goalActor | string | required. Goal actor label or name. |
tetherDistance | number | Moving-goal tether distance in centimetres. Default 50.0. |
Returns: found, point, distance, polyRef, message.
nav.raycast_detailed (risk 0, UE 5.5+, requires world, smoke)
Navigation raycast on a RecastNavMesh with the additional corridor result (whether a clear ray's end lies in the explored corridor). UE 5.5+.
| Argument | Type | Description |
|---|---|---|
start | {x,y,z} | required. Path start in centimetres. |
end | {x,y,z} | required. Path end in centimetres. |
navData | string | Navigation data actor label/name; empty uses the agent's data or the world's default navigation data. |
agent | string | Supported agent name (project navigation settings) whose navigation data is queried; empty uses navData or the default. |
filterClass | string | NavigationQueryFilter class path or name (e.g. a Blueprint filter); empty uses the navigation data's default filter. |
allowPartial | boolean | Accept partial paths that end at the closest reachable point. Default true. |
Returns: hit, hitLocation, distance, rayEndInCorridor, navData, message.
nav.reachability_matrix (risk 0, requires world, smoke)
All-pairs reachability between 2..16 points (length and cost per ordered pair).
| Argument | Type | Description |
|---|---|---|
points | array of {x,y,z} | required. 2..16 world points in centimetres. |
navData | string | Navigation data label/name. |
agent | string | Supported agent name. |
filterClass | string | NavigationQueryFilter class. |
Returns: cells, size, reachablePairs, navData, message.
nav.rebuild_all (risk 4, mutates, requires world, smoke)
Runs the same blocking full build as nav.build (use after changing RecastNavMesh generation settings).
No arguments.
Returns: available, building, remainingTasks, boundsVolumes, navDataCount, autoUpdate, dirty, message.
nav.rebuild_area (risk 4, requires world, smoke)
Marks a box dirty so only its tiles are regenerated on the next navigation tick; poll nav.wait_build afterwards.
| Argument | Type | Description |
|---|---|---|
center | {x,y,z} | required. Box centre in centimetres. |
extent | {x,y,z} | required. Positive box half extents in centimetres. |
Returns: available, building, remainingTasks, boundsVolumes, navDataCount, autoUpdate, dirty, message.
nav.rebuild_nav_data (risk 4, requires world, smoke)
Rebuilds one navigation data actor synchronously (RebuildAll + wait), leaving the other agents' data untouched.
| Argument | Type | Description |
|---|---|---|
navData | string | Navigation data actor label/name; empty selects the only navigation data in the world. |
Returns: available, building, remainingTasks, boundsVolumes, navDataCount, autoUpdate, dirty, message.
nav.refresh_actor_nav (risk 1, requires world, smoke)
Re-registers actors in the navigation octree after collision or relevance edits (marks their areas dirty).
| Argument | Type | Description |
|---|---|---|
actors | array of string | required. Actor labels or object names; each must match exactly one actor. |
Returns: items, count, values, message.
nav.refresh_all_bounds (risk 2, mutates, requires world, smoke)
Re-registers every NavMeshBoundsVolume in the editor level.
No arguments.
Returns: items, count, values, message.
nav.refresh_bounds_volume (risk 2, mutates, requires world, smoke)
Re-registers one edited bounds volume with the navigation system.
| Argument | Type | Description |
|---|---|---|
actor | string | required. Actor label or object name (must match exactly one actor). |
Returns: items, count, values, message.
nav.remove_agent (risk 4)
Removes a named supported agent from project navigation settings.
| Argument | Type | Description |
|---|---|---|
name | string | required. Unique supported-agent name. |
radius | string | Agent radius; empty preserves it. |
height | string | Agent height; empty preserves it. |
stepHeight | string | Agent step height; empty preserves it. |
navDataClass | string | Optional navigation-data class. |
Returns: items, count, values, message.
nav.remove_bounds_volume (risk 3, mutates, destructive, requires world, smoke)
Removes one NavMeshBoundsVolume actor.
| Argument | Type | Description |
|---|---|---|
actor | string | required. Actor label or object name (must match exactly one actor). |
Returns: items, count, values, message.
nav.remove_build_lock (risk 4, mutates, requires world, smoke)
Releases a navigation build lock and optionally requests its deferred rebuild.
| Argument | Type | Description |
|---|---|---|
flags | integer | Bitmask accepted by UNavigationSystemV1 build-lock APIs. Default 1. |
rebuildOnRelease | boolean | Rebuild navigation when releasing the lock. Default true. |
Returns: available, building, remainingTasks, boundsVolumes, navDataCount, autoUpdate, dirty, message.
nav.remove_invoker (risk 3, mutates, destructive, requires world, smoke)
Removes the navigation invoker component of an actor.
| Argument | Type | Description |
|---|---|---|
actor | string | required. Actor label or object name (must match exactly one actor). |
Returns: items, count, values, message.
nav.remove_link_component (risk 3, mutates, destructive, requires world, smoke)
Removes a NavLinkComponent that was added to the actor instance.
| Argument | Type | Description |
|---|---|---|
actor | string | required. Owner actor label/name. |
componentName | string | Link component name; empty selects the actor's only NavLinkComponent (add: name of the new component). |
index | integer | Link index inside the component. Default 0. |
start | {x,y,z} | Left point relative to the owner actor in centimetres. |
end | {x,y,z} | Right point relative to the owner actor in centimetres. Default FUeaVec3(100.0, 0.0, 0.0). |
bidirectional | boolean | Both-way traversal. Default true. |
areaClass | string | Optional NavArea class. |
Returns: actor, components, count.
nav.remove_link_component_link (risk 2, mutates, requires world, smoke)
Removes one link from a NavLinkComponent.
| Argument | Type | Description |
|---|---|---|
actor | string | required. Owner actor label/name. |
componentName | string | Link component name; empty selects the actor's only NavLinkComponent (add: name of the new component). |
index | integer | Link index inside the component. Default 0. |
start | {x,y,z} | Left point relative to the owner actor in centimetres. |
end | {x,y,z} | Right point relative to the owner actor in centimetres. Default FUeaVec3(100.0, 0.0, 0.0). |
bidirectional | boolean | Both-way traversal. Default true. |
areaClass | string | Optional NavArea class. |
Returns: actor, component, links, count, message.
nav.remove_link_proxy (risk 3, mutates, destructive, requires world, smoke)
Removes a NavLinkProxy.
| Argument | Type | Description |
|---|---|---|
actor | string | required. Actor label or object name (must match exactly one actor). |
Returns: items, count, values, message.
nav.remove_modifier_component (risk 3, mutates, destructive, requires world, smoke)
Removes a NavModifierComponent that was added to the actor instance.
| Argument | Type | Description |
|---|---|---|
actor | string | required. Owner actor label/name. |
componentName | string | Component name; empty selects the actor's only modifier component. |
areaClass | string | NavArea class path/name; empty preserves it ("None" clears a replacement area). |
extent | {x,y,z} | Failsafe box half extent in centimetres (used when the owner has no collision); zero keeps it. |
includeAgentHeight | string | Expand the modifier bottom by the agent height (true/false); empty keeps it. |
Returns: items, count, values, message.
nav.remove_modifier_volume (risk 3, mutates, destructive, requires world, smoke)
Removes a NavModifierVolume.
| Argument | Type | Description |
|---|---|---|
actor | string | required. Actor label or object name (must match exactly one actor). |
Returns: items, count, values, message.
nav.remove_nav_data (risk 3, mutates, destructive, requires world)
Destroys one navigation data actor (its generated tiles go with it; nav.build recreates it).
| Argument | Type | Description |
|---|---|---|
navData | string | Navigation data actor label/name; empty selects the only navigation data in the world. |
Returns: navData, count, message.
nav.remove_query_filter_area (risk 2, mutates, smoke)
Removes one area override from a Blueprint query filter.
| Argument | Type | Description |
|---|---|---|
filter | string | required. NavigationQueryFilter Blueprint asset path or unique name. |
areaClass | string | required. NavArea class path or name. |
travelCost | string | Travel cost override (> 0); "none" clears the override. |
enteringCost | string | Entering cost override (>= 0); "none" clears the override. |
excluded | string | Exclude the area from paths (true/false). |
Returns: filter, areas, includeFlags, excludeFlags, count, message.
nav.remove_simple_link (risk 2, mutates, requires world, smoke)
Removes one simple link by index.
| Argument | Type | Description |
|---|---|---|
actor | string | required. NavLinkProxy actor label/name. |
index | integer | Simple-link index. Default 0. |
start | {x,y,z} | Link start in world centimetres. |
end | {x,y,z} | Link end in world centimetres. |
bidirectional | boolean | Both-way traversal. Default true. |
areaClass | string | Optional NavArea class. |
enabled | boolean | Smart link enabled state. Default true. |
Returns: items, count, values, message.
nav.remove_test_actors (risk 3, mutates, destructive, requires world, smoke)
Destroys fixture actors created by nav.create_test_floor / nav.create_test_character (only actors tagged UeaNavTest are accepted).
| Argument | Type | Description |
|---|---|---|
actors | array of string | required. Actor labels or names; each must carry the UeaNavTest tag set by the nav test-fixture tools. |
Returns: items, count, values, message.
nav.runtime_batch_reachability (risk 0, requires PIE, smoke)
Tests independent start/end pairs in the PIE world.
| Argument | Type | Description |
|---|---|---|
paths | array of UeaNavPathArgs | required. Start/end pairs in centimetres (each may carry its own selectors). |
Returns: results, count, reachable.
nav.runtime_cancel_build (risk 4, mutates, requires PIE, smoke)
Cancels the PIE navigation build.
No arguments.
Returns: available, building, remainingTasks, boundsVolumes, navDataCount, autoUpdate, dirty, message.
nav.runtime_despawn_agent (risk 1, requires PIE, smoke)
Destroys a PIE pawn and its controller (pass either).
| Argument | Type | Description |
|---|---|---|
actor | string | required. Actor label or object name (must match exactly one actor). |
Returns: items, count, values, message.
nav.runtime_find_path (risk 0, requires PIE, smoke)
Finds a path in the PIE world (same selectors as nav.find_path).
| Argument | Type | Description |
|---|---|---|
start | {x,y,z} | required. Path start in centimetres. |
end | {x,y,z} | required. Path end in centimetres. |
navData | string | Navigation data actor label/name; empty uses the agent's data or the world's default navigation data. |
agent | string | Supported agent name (project navigation settings) whose navigation data is queried; empty uses navData or the default. |
filterClass | string | NavigationQueryFilter class path or name (e.g. a Blueprint filter); empty uses the navigation data's default filter. |
allowPartial | boolean | Accept partial paths that end at the closest reachable point. Default true. |
Returns: valid, partial, points, length, cost, navData, result, message.
nav.runtime_find_path_for_agent (risk 0, requires PIE, smoke)
Finds a path from a controller's pawn to a goal with the pawn's agent properties and the controller's default filter (what MoveTo would use).
| Argument | Type | Description |
|---|---|---|
controller | string | required. PIE AIController label or name. |
goal | {x,y,z} | required. Goal location in centimetres. |
Returns: valid, partial, points, length, cost, navData, result, message.
nav.runtime_get_bounds (risk 0, requires PIE, smoke)
Returns the PIE RecastNavMesh bounds.
No arguments.
Returns: items, count, values, message.
nav.runtime_get_build_status (risk 0, requires PIE, smoke)
Returns PIE navigation build status.
No arguments.
Returns: available, building, remainingTasks, boundsVolumes, navDataCount, autoUpdate, dirty, message.
nav.runtime_get_controller_state (risk 0, requires PIE, smoke)
Returns the full live state of a PIE AIController: pawn, velocity, move status, path progress, goal, focus, agent size, nav data, filter.
| Argument | Type | Description |
|---|---|---|
actor | string | required. Actor label or object name (must match exactly one actor). |
Returns: controller, controllerClass, pawn, location, velocity, moveStatus, hasPath, pathLength, remainingCost, currentPathIndex, destination, currentTarget, acceptanceRadius, lastMoveReachedGoal, goalActor, focusActor, agentRadius, agentHeight, navData, filterClass, crowdAgent.
nav.runtime_get_crowd_agent (risk 0, requires PIE, smoke)
Returns the crowd following settings of a PIE DetourCrowdAIController.
| Argument | Type | Description |
|---|---|---|
actor | string | required. Actor label or object name (must match exactly one actor). |
Returns: controller, registered, simulation, quality, anticipateTurns, obstacleAvoidance, separation, optimizeVisibility, optimizeTopology, pathOffset, slowdownAtGoal, separationWeight, collisionQueryRange, pathOptimizationRange, avoidanceRangeMultiplier, avoidanceGroup, groupsToAvoid, groupsToIgnore.
nav.runtime_get_crowd_profiles (risk 0, requires PIE, smoke)
Returns the PIE crowd manager's avoidance profiles.
No arguments.
Returns: maxAgents, maxAgentRadius, maxAvoidedAgents, maxAvoidedWalls, profiles, message.
nav.runtime_get_invoker_locations (risk 0, requires PIE, smoke)
Returns the invoker locations and radii the PIE navigation system gathered last.
No arguments.
Returns: invokers, count, invokerOnly.
nav.runtime_get_move_status (risk 0, requires PIE, smoke)
Returns path-following status and request result of a PIE AIController.
| Argument | Type | Description |
|---|---|---|
actor | string | required. Actor label or object name (must match exactly one actor). |
Returns: items, count, values, message.
nav.runtime_get_navmesh (risk 0, requires PIE, smoke)
Returns the PIE RecastNavMesh summary.
No arguments.
Returns: items, count, values, message.
nav.runtime_get_obstacle (risk 0, requires PIE, smoke)
Reads navigation relevance of a PIE actor's primitive components.
| Argument | Type | Description |
|---|---|---|
actor | string | required. Actor label or object name (must match exactly one actor). |
Returns: items, count, values, message.
nav.runtime_get_path (risk 0, requires PIE, smoke)
Returns the active path of a PIE AIController.
| Argument | Type | Description |
|---|---|---|
actor | string | required. Actor label or object name (must match exactly one actor). |
Returns: valid, partial, points, length, cost, navData, result, message.
nav.runtime_get_rvo (risk 0, requires PIE, smoke)
Returns RVO avoidance of a PIE Character.
| Argument | Type | Description |
|---|---|---|
actor | string | required. Actor label or object name (must match exactly one actor). |
Returns: actor, enabled, radius, weight, avoidanceGroup, groupsToAvoid, groupsToIgnore, avoidanceUID.
nav.runtime_get_smart_link (risk 0, requires PIE, smoke)
Returns the smart-link state of a PIE NavLinkProxy (points, areas, broadcast, obstacle).
| Argument | Type | Description |
|---|---|---|
actor | string | required. Actor label or object name (must match exactly one actor). |
Returns: links, count, message.
nav.runtime_get_tile_count (risk 0, requires PIE, smoke)
Returns the PIE RecastNavMesh tile slot count.
No arguments.
Returns: items, count, values, message.
nav.runtime_list_invokers (risk 0, requires PIE, smoke)
Lists PIE navigation invoker components.
No arguments.
Returns: items, count, values, message.
nav.runtime_move_to (risk 2, mutates, requires PIE, smoke)
Sends a PIE AIController to a location.
| Argument | Type | Description |
|---|---|---|
controller | string | required. PIE AIController actor label or name. |
goal | {x,y,z} | required. Goal location in centimetres. |
acceptanceRadius | number | Acceptance radius in centimetres. Default 50.0. |
stopOnOverlap | boolean | Stop on overlap with the goal. Default true. |
Returns: items, count, values, message.
nav.runtime_move_to_actor (risk 2, mutates, requires PIE, smoke)
Sends a PIE AIController to an actor (the path follows the moving goal).
| Argument | Type | Description |
|---|---|---|
controller | string | required. PIE AIController actor label or name. |
goalActor | string | required. Goal actor label or name (PIE world). |
acceptanceRadius | number | Acceptance radius in centimetres. Default 50.0. |
stopOnOverlap | boolean | Stop on overlap with the goal. Default true. |
Returns: items, count, values, message.
nav.runtime_pause_move (risk 0, requires PIE, smoke)
Pauses the active move of a PIE AIController (keeps the path).
| Argument | Type | Description |
|---|---|---|
actor | string | required. Actor label or object name (must match exactly one actor). |
Returns: controller, controllerClass, pawn, location, velocity, moveStatus, hasPath, pathLength, remainingCost, currentPathIndex, destination, currentTarget, acceptanceRadius, lastMoveReachedGoal, goalActor, focusActor, agentRadius, agentHeight, navData, filterClass, crowdAgent.
nav.runtime_project_point (risk 0, requires PIE, smoke)
Projects a point onto the PIE navigation data.
| Argument | Type | Description |
|---|---|---|
point | {x,y,z} | required. World point in centimetres. |
extent | {x,y,z} | Half extent of the projection search box in centimetres. Default FUeaVec3(100.0,100.0,200.0). |
navData | string | Navigation data label/name; empty uses the agent's data or the default navigation data. |
agent | string | Supported agent name; empty uses navData or the default. |
filterClass | string | NavigationQueryFilter class; empty uses the default filter. |
Returns: found, point, distance, polyRef, message.
nav.runtime_random_navigable (risk 0, requires PIE, smoke)
Returns a random navigable PIE point.
| Argument | Type | Description |
|---|---|---|
origin | {x,y,z} | required. PIE-world origin. |
radius | number | required. Positive radius in centimetres. |
reachable | boolean | Require reachability from origin. Default true. |
Returns: found, point, distance, polyRef, message.
nav.runtime_random_point (risk 0, requires PIE, smoke)
Returns a random PIE navigation point (reachable or navigable).
| Argument | Type | Description |
|---|---|---|
origin | {x,y,z} | required. PIE-world origin. |
radius | number | required. Positive radius in centimetres. |
reachable | boolean | Require reachability from origin. Default true. |
Returns: found, point, distance, polyRef, message.
nav.runtime_random_reachable (risk 0, requires PIE, smoke)
Returns a random PIE point reachable from origin.
| Argument | Type | Description |
|---|---|---|
origin | {x,y,z} | required. PIE-world origin. |
radius | number | required. Positive radius in centimetres. |
reachable | boolean | Require reachability from origin. Default true. |
Returns: found, point, distance, polyRef, message.
nav.runtime_raycast (risk 0, requires PIE, smoke)
Navigation raycast in the PIE world.
| Argument | Type | Description |
|---|---|---|
start | {x,y,z} | required. Path start in centimetres. |
end | {x,y,z} | required. Path end in centimetres. |
navData | string | Navigation data actor label/name; empty uses the agent's data or the world's default navigation data. |
agent | string | Supported agent name (project navigation settings) whose navigation data is queried; empty uses navData or the default. |
filterClass | string | NavigationQueryFilter class path or name (e.g. a Blueprint filter); empty uses the navigation data's default filter. |
allowPartial | boolean | Accept partial paths that end at the closest reachable point. Default true. |
Returns: found, point, distance, polyRef, message.
nav.runtime_rebuild (risk 4, requires PIE, smoke)
Requests a full navigation build in the PIE world.
No arguments.
Returns: available, building, remainingTasks, boundsVolumes, navDataCount, autoUpdate, dirty, message.
nav.runtime_rebuild_area (risk 0, requires PIE, smoke)
Marks a PIE box dirty so dynamic navigation regenerates its tiles.
| Argument | Type | Description |
|---|---|---|
center | {x,y,z} | required. Box centre in centimetres. |
extent | {x,y,z} | required. Positive box half extents in centimetres. |
Returns: available, building, remainingTasks, boundsVolumes, navDataCount, autoUpdate, dirty, message.
nav.runtime_register_invoker (risk 0, requires PIE, smoke)
Registers a PIE actor as navigation invoker.
| Argument | Type | Description |
|---|---|---|
actor | string | required. Owner actor label/name. |
generationRadius | number | required. Positive tile generation radius in centimetres. |
removalRadius | number | required. Removal radius in centimetres, at least generation radius. |
Returns: items, count, values, message.
nav.runtime_resume_move (risk 0, requires PIE, smoke)
Resumes a paused move of a PIE AIController.
| Argument | Type | Description |
|---|---|---|
actor | string | required. Actor label or object name (must match exactly one actor). |
Returns: controller, controllerClass, pawn, location, velocity, moveStatus, hasPath, pathLength, remainingCost, currentPathIndex, destination, currentTarget, acceptanceRadius, lastMoveReachedGoal, goalActor, focusActor, agentRadius, agentHeight, navData, filterClass, crowdAgent.
nav.runtime_set_crowd_agent (risk 0, requires PIE, smoke)
Changes crowd following settings of a PIE DetourCrowdAIController (quality, separation, groups, ranges, simulation state).
| Argument | Type | Description |
|---|---|---|
actor | string | required. PIE AIController label or name (DetourCrowdAIController). |
simulation | string | Enabled, ObstacleOnly or Disabled. |
quality | string | Low, Medium, Good or High (selects the avoidance profile). |
anticipateTurns | string | true/false. |
obstacleAvoidance | string | true/false. |
separation | string | true/false. |
optimizeVisibility | string | true/false. |
optimizeTopology | string | true/false. |
pathOffset | string | true/false. |
slowdownAtGoal | string | true/false. |
separationWeight | string | Separation weight (>= 0). |
collisionQueryRange | string | Collision query range in centimetres. |
pathOptimizationRange | string | Path optimization range in centimetres. |
avoidanceRangeMultiplier | string | Avoidance range multiplier. |
avoidanceGroup | string | Avoidance group bitmask. |
groupsToAvoid | string | Groups to avoid bitmask. |
groupsToIgnore | string | Groups to ignore bitmask. |
Returns: controller, registered, simulation, quality, anticipateTurns, obstacleAvoidance, separation, optimizeVisibility, optimizeTopology, pathOffset, slowdownAtGoal, separationWeight, collisionQueryRange, pathOptimizationRange, avoidanceRangeMultiplier, avoidanceGroup, groupsToAvoid, groupsToIgnore.
nav.runtime_set_crowd_profile (risk 0, requires PIE, smoke)
Changes one avoidance profile of the PIE crowd manager (session only; nav.set_crowd_avoidance_profile writes the project default).
| Argument | Type | Description |
|---|---|---|
index | integer | required. Profile index (0..3 by default). |
velocityBias | string | Velocity bias. |
desiredVelocityWeight | string | Desired velocity weight. |
currentVelocityWeight | string | Current velocity weight. |
sideBiasWeight | string | Side bias weight. |
impactTimeWeight | string | Impact time weight. |
impactTimeRange | string | Impact time range in seconds. |
adaptiveDivisions | string | Adaptive divisions (1..32). |
adaptiveRings | string | Adaptive rings (1..4). |
adaptiveDepth | string | Adaptive depth (1..10). |
Returns: maxAgents, maxAgentRadius, maxAvoidedAgents, maxAvoidedWalls, profiles, message.
nav.runtime_set_obstacle (risk 2, mutates, requires PIE, smoke)
Turns navigation relevance of a PIE actor's primitive components on/off.
| Argument | Type | Description |
|---|---|---|
actor | string | required. PIE actor label or name. |
enabled | boolean | required. Whether primitive components affect navigation. |
Returns: items, count, values, message.
nav.runtime_set_rvo (risk 0, requires PIE, smoke)
Changes RVO avoidance of a PIE Character (enable, radius, weight, groups).
| Argument | Type | Description |
|---|---|---|
actor | string | required. PIE Character label or name. |
enabled | string | Enable RVO avoidance (true/false). |
radius | string | Consideration radius in centimetres. |
weight | string | Avoidance weight 0..1. |
avoidanceGroup | string | Avoidance group bitmask. |
groupsToAvoid | string | Groups to avoid bitmask. |
groupsToIgnore | string | Groups to ignore bitmask. |
Returns: actor, enabled, radius, weight, avoidanceGroup, groupsToAvoid, groupsToIgnore, avoidanceUID.
nav.runtime_set_smart_link_enabled (risk 0, requires PIE, smoke)
Enables/disables a PIE smart link (door open/closed) and notifies agents per its broadcast settings.
| Argument | Type | Description |
|---|---|---|
actor | string | required. PIE NavLinkProxy label or name. |
enabled | boolean | required. Enable the smart link. |
Returns: links, count, message.
nav.runtime_spawn_link_proxy (risk 1, requires PIE, smoke)
Spawns a NavLinkProxy in the PIE world (runtime jump/door links); its smart link starts disabled.
| Argument | Type | Description |
|---|---|---|
name | string | Editor label for the link proxy. Default TEXT("NavLink"). |
start | {x,y,z} | required. Left endpoint in world centimetres. |
end | {x,y,z} | required. Right endpoint in world centimetres. |
bidirectional | boolean | Whether traversal is allowed in both directions. Default true. |
areaClass | string | Optional NavArea class path or short name. |
Returns: items, count, values, message.
nav.runtime_stop_movement (risk 0, requires PIE, smoke)
Stops the movement of a PIE AIController.
| Argument | Type | Description |
|---|---|---|
actor | string | required. Actor label or object name (must match exactly one actor). |
Returns: items, count, values, message.
nav.runtime_test_path (risk 0, requires PIE, smoke)
Tests whether a complete PIE path exists.
| Argument | Type | Description |
|---|---|---|
start | {x,y,z} | required. Path start in centimetres. |
end | {x,y,z} | required. Path end in centimetres. |
navData | string | Navigation data actor label/name; empty uses the agent's data or the world's default navigation data. |
agent | string | Supported agent name (project navigation settings) whose navigation data is queried; empty uses navData or the default. |
filterClass | string | NavigationQueryFilter class path or name (e.g. a Blueprint filter); empty uses the navigation data's default filter. |
allowPartial | boolean | Accept partial paths that end at the closest reachable point. Default true. |
Returns: valid, partial, points, length, cost, navData, result, message.
nav.runtime_unregister_invoker (risk 0, requires PIE, smoke)
Unregisters a PIE navigation invoker.
| Argument | Type | Description |
|---|---|---|
actor | string | required. Actor label or object name (must match exactly one actor). |
Returns: items, count, values, message.
nav.runtime_update_actor_nav (risk 0, requires PIE, smoke)
Re-registers a PIE actor in the navigation octree after it moved or changed collision (dirties its area).
| Argument | Type | Description |
|---|---|---|
actor | string | required. Actor label or object name (must match exactly one actor). |
Returns: items, count, values, message.
nav.runtime_validate (risk 0, requires PIE, smoke)
Validates the PIE navigation data.
No arguments.
Returns: issues, count.
nav.sample_navmesh (risk 0, requires world, smoke)
Samples a box on a grid and reports which points are navigable (coverage fraction).
| Argument | Type | Description |
|---|---|---|
center | {x,y,z} | required. Box centre in centimetres. |
extent | {x,y,z} | required. Positive box half extents in centimetres (z is the vertical projection range). |
spacing | number | Grid spacing in centimetres (>= 10). Default 100.0. |
maxSamples | integer | Maximum samples (1..2500). Default 400. |
navData | string | Navigation data label/name. |
agent | string | Supported agent name. |
Returns: samples, count, navigable, fraction, navData.
nav.set_actor_nav (risk 2, mutates, requires world, smoke)
Sets navigation relevance and dynamic-obstacle properties on an actor's primitive components.
| Argument | Type | Description |
|---|---|---|
actor | string | required. Actor label or name. |
canAffect | string | Optional can-affect-navigation value as true or false. |
dynamicObstacle | string | Optional dynamic-obstacle value as true or false. |
areaClass | string | Optional NavArea class path or name for shape components. |
Returns: items, count, values, message.
nav.set_agent (risk 4)
Updates a named supported agent in project navigation settings.
| Argument | Type | Description |
|---|---|---|
name | string | required. Unique supported-agent name. |
radius | string | Agent radius; empty preserves it. |
height | string | Agent height; empty preserves it. |
stepHeight | string | Agent step height; empty preserves it. |
navDataClass | string | Optional navigation-data class. |
Returns: items, count, values, message.
nav.set_agent_blueprint (risk 2, mutates, smoke)
Sets navigation defaults of a Character Blueprint (controller, auto-possess, RVO, nav agent size/capabilities, path following flags).
| Argument | Type | Description |
|---|---|---|
blueprint | string | required. Character Blueprint asset path or unique name. |
controllerClass | string | AIController class path or name. |
autoPossessAI | string | Disabled, PlacedInWorld, Spawned or PlacedInWorldOrSpawned. |
useRvo | string | RVO avoidance (true/false). |
rvoRadius | string | RVO consideration radius in centimetres. |
rvoWeight | string | RVO avoidance weight 0..1. |
agentRadius | string | Navigation agent radius in centimetres. |
agentHeight | string | Navigation agent height in centimetres. |
agentStepHeight | string | Navigation agent step height in centimetres (negative = navmesh default). |
canCrouch | string | Can crouch (true/false). |
canJump | string | Can jump (true/false). |
canWalk | string | Can walk (true/false). |
canSwim | string | Can swim (true/false). |
canFly | string | Can fly (true/false). |
useAccelerationForPaths | string | Path following drives acceleration instead of velocity (true/false). |
updateNavAgentWithOwnersCollision | string | Update agent radius/height from the collision capsule (true/false). |
Returns: blueprint, controllerClass, autoPossessAI, useRvo, rvoRadius, rvoWeight, agentRadius, agentHeight, agentStepHeight, canCrouch, canJump, canWalk, canSwim, canFly, useAccelerationForPaths, updateNavAgentWithOwnersCollision, message.
nav.set_area_defaults (risk 2, mutates, smoke)
Sets NavArea defaults: traversal cost, entering cost, flags, draw colour and supported agents.
| Argument | Type | Description |
|---|---|---|
area | string | required. NavArea class path or name. |
defaultCost | string | Default traversal cost; empty preserves it. |
fixedAreaEnteringCost | string | Fixed entering cost; empty preserves it. |
drawColor | string | Debug draw colour as (R=,G=,B=,A=) text; empty preserves it. |
supportedAgents | array of string | Supported agent names; empty preserves the current agents. |
Returns: items, count, values, message.
nav.set_auto_update (risk 1, requires world, smoke)
Turns automatic navigation rebuilds after edits on/off for this editor session.
| Argument | Type | Description |
|---|---|---|
enabled | boolean | required. Rebuild navigation automatically after edits in this editor session. |
Returns: available, building, remainingTasks, boundsVolumes, navDataCount, autoUpdate, dirty, message.
nav.set_bounds_agents (risk 2, mutates, requires world, smoke)
Restricts a NavMeshBoundsVolume to some supported agents (empty list = all agents).
| Argument | Type | Description |
|---|---|---|
actor | string | required. NavMeshBoundsVolume label or name. |
agents | array of string | Supported agent names; empty means every agent. |
Returns: bounds, count, worldMin, worldMax.
nav.set_bounds_volume (risk 2, mutates, requires world, smoke)
Resizes and moves a NavMeshBoundsVolume, then notifies navigation.
| Argument | Type | Description |
|---|---|---|
actor | string | required. Bounds-volume actor label or name. |
location | {x,y,z} | New centre in centimetres. |
extent | {x,y,z} | required. New positive box half extents in centimetres. |
Returns: items, count, values, message.
nav.set_crowd_avoidance_profile (risk 4)
Writes one crowd avoidance profile to project config (DefaultEngine.ini CrowdManager).
| Argument | Type | Description |
|---|---|---|
index | integer | required. Profile index (0..3 by default). |
velocityBias | string | Velocity bias. |
desiredVelocityWeight | string | Desired velocity weight. |
currentVelocityWeight | string | Current velocity weight. |
sideBiasWeight | string | Side bias weight. |
impactTimeWeight | string | Impact time weight. |
impactTimeRange | string | Impact time range in seconds. |
adaptiveDivisions | string | Adaptive divisions (1..32). |
adaptiveRings | string | Adaptive rings (1..4). |
adaptiveDepth | string | Adaptive depth (1..10). |
Returns: maxAgents, maxAgentRadius, maxAvoidedAgents, maxAvoidedWalls, profiles, message.
nav.set_crowd_settings (risk 4)
Writes the crowd MaxAgents to project config.
| Argument | Type | Description |
|---|---|---|
maxAgents | integer | required. Maximum crowd agents, from 1 to 100000. |
Returns: maxAgents, maxAgentRadius, maxAvoidedAgents, maxAvoidedWalls, profiles, message.
nav.set_draw_flags (risk 2, mutates, requires world, smoke)
Turns RecastNavMesh debug-draw flags on/off (names from nav.get_draw_flags), plus the master drawing switch and draw offset.
| Argument | Type | Description |
|---|---|---|
navData | string | RecastNavMesh actor label/name; empty selects the only one. |
enable | array of string | Flag names to turn on (see nav.get_draw_flags for the supported list). |
disable | array of string | Flag names to turn off. |
enableDrawing | string | Optional master drawing switch as true/false; empty keeps it. |
drawOffset | string | Optional draw offset in centimetres; empty keeps it. |
Returns: navData, enableDrawing, flags, drawOffset, message.
nav.set_invoker (risk 2, mutates, requires world, smoke)
Changes the radii of the actor's only navigation invoker component.
| Argument | Type | Description |
|---|---|---|
actor | string | required. Owner actor label/name. |
generationRadius | number | required. Positive tile generation radius in centimetres. |
removalRadius | number | required. Removal radius in centimetres, at least generation radius. |
Returns: items, count, values, message.
nav.set_link_component_link (risk 2, mutates, requires world, smoke)
Moves one NavLinkComponent link (points relative to the actor), its direction and optional area.
| Argument | Type | Description |
|---|---|---|
actor | string | required. Owner actor label/name. |
componentName | string | Link component name; empty selects the actor's only NavLinkComponent (add: name of the new component). |
index | integer | Link index inside the component. Default 0. |
start | {x,y,z} | Left point relative to the owner actor in centimetres. |
end | {x,y,z} | Right point relative to the owner actor in centimetres. Default FUeaVec3(100.0, 0.0, 0.0). |
bidirectional | boolean | Both-way traversal. Default true. |
areaClass | string | Optional NavArea class. |
Returns: actor, component, links, count, message.
nav.set_link_properties (risk 2, mutates, requires world, smoke)
Sets direction, area, snap, projection heights, description and supported agents of a proxy simple link or a NavLinkComponent link.
| Argument | Type | Description |
|---|---|---|
actor | string | required. Owner actor label/name. |
componentName | string | NavLinkComponent name; empty edits the NavLinkProxy simple links (PointLinks). |
index | integer | Link index. Default 0. |
direction | string | BothWays, LeftToRight or RightToLeft. |
areaClass | string | NavArea class path/name. |
snapRadius | string | Endpoint snap radius in centimetres (>= 1). |
snapHeight | string | Endpoint snap height in centimetres (>= 1; enables useSnapHeight). |
useSnapHeight | string | Use snapHeight (true/false). |
leftProjectHeight | string | Left endpoint projection height in centimetres. |
maxFallDownLength | string | Right endpoint maximum fall-down length in centimetres. |
snapToCheapestArea | string | Snap to the cheapest area under the endpoint (true/false). |
description | string | Free-form description. |
supportedAgents | array of string | Supported agent names; empty preserves them. |
Returns: actor, component, links, count, message.
nav.set_link_proxy (risk 2, mutates, requires world, smoke)
Moves one simple link (world points), its direction and optional area.
| Argument | Type | Description |
|---|---|---|
actor | string | required. NavLinkProxy actor label/name. |
index | integer | Simple-link index. Default 0. |
start | {x,y,z} | Link start in world centimetres. |
end | {x,y,z} | Link end in world centimetres. |
bidirectional | boolean | Both-way traversal. Default true. |
areaClass | string | Optional NavArea class. |
enabled | boolean | Smart link enabled state. Default true. |
Returns: items, count, values, message.
nav.set_modifier_component (risk 2, mutates, requires world, smoke)
Changes a NavModifierComponent's area, failsafe extent and agent-height expansion.
| Argument | Type | Description |
|---|---|---|
actor | string | required. Owner actor label/name. |
componentName | string | Component name; empty selects the actor's only modifier component. |
areaClass | string | NavArea class path/name; empty preserves it ("None" clears a replacement area). |
extent | {x,y,z} | Failsafe box half extent in centimetres (used when the owner has no collision); zero keeps it. |
includeAgentHeight | string | Expand the modifier bottom by the agent height (true/false); empty keeps it. |
Returns: items, count, values, message.
nav.set_modifier_replacement (risk 2, mutates, UE 5.5+, requires world, smoke)
Sets the area a NavModifierComponent replaces (UE 5.5+; areaClass None clears it).
| Argument | Type | Description |
|---|---|---|
actor | string | required. Owner actor label/name. |
componentName | string | Component name; empty selects the actor's only modifier component. |
areaClass | string | NavArea class path/name; empty preserves it ("None" clears a replacement area). |
extent | {x,y,z} | Failsafe box half extent in centimetres (used when the owner has no collision); zero keeps it. |
includeAgentHeight | string | Expand the modifier bottom by the agent height (true/false); empty keeps it. |
Returns: items, count, values, message.
nav.set_modifier_resolution (risk 2, mutates, UE 5.2+, requires world, smoke)
Sets the tile resolution a modifier forces (Low/Default/High/None): volumes need UE 5.2, components UE 5.3.
| Argument | Type | Description |
|---|---|---|
actor | string | required. NavModifierVolume label, or the owner of a NavModifierComponent. |
componentName | string | Component name; empty edits a NavModifierVolume actor. |
resolution | string | required. Low, Default, High or None. |
Returns: modifiers, count.
nav.set_modifier_volume (risk 2, mutates, requires world, smoke)
Moves/resizes a NavModifierVolume and optionally changes its area.
| Argument | Type | Description |
|---|---|---|
name | string | Actor label/name for a new volume. |
areaClass | string | required. NavArea class path/name ("None" clears a replacement area). |
location | {x,y,z} | Centre in centimetres. |
extent | {x,y,z} | Positive brush half extents. Default FUeaVec3(500,500,250). |
actor | string | Existing actor reference for setters/components. |
Returns: items, count, values, message.
nav.set_modifier_volume_replacement (risk 2, mutates, UE 5.5+, requires world, smoke)
Sets the area a NavModifierVolume replaces (UE 5.5+; areaClass None clears it).
| Argument | Type | Description |
|---|---|---|
name | string | Actor label/name for a new volume. |
areaClass | string | required. NavArea class path/name ("None" clears a replacement area). |
location | {x,y,z} | Centre in centimetres. |
extent | {x,y,z} | Positive brush half extents. Default FUeaVec3(500,500,250). |
actor | string | Existing actor reference for setters/components. |
Returns: items, count, values, message.
nav.set_navmesh (risk 2, mutates, requires world, smoke)
Sets typed RecastNavMesh generation fields: tile, agent, cell (Default resolution), region/layer partitioning, filtering, simplification (text values; empty keeps the value). Rebuild afterwards.
| Argument | Type | Description |
|---|---|---|
actor | string | RecastNavMesh actor label/name; empty selects the only one in the level. |
cellSize | string | Cell size in centimetres (UE 5.2+: the Default resolution; use nav.set_resolution for Low/High). |
cellHeight | string | Cell height in centimetres (UE 5.2+: the Default resolution). |
tileSizeUU | string | Tile size in Unreal units. |
agentRadius | string | Agent radius in centimetres. |
agentHeight | string | Agent height in centimetres. |
agentMaxSlope | string | Maximum walkable slope in degrees. |
drawDebug | string | Whether the nav mesh debug drawing is enabled. |
minRegionArea | string | Minimum region area in square centimetres. |
mergeRegionSize | string | Regions smaller than this are merged (square centimetres). |
maxSimplificationError | string | Maximum contour simplification error in cells. |
regionPartitioning | string | Region partitioning: Monotone, Watershed or ChunkyMonotone. |
layerPartitioning | string | Layer partitioning: Monotone, Watershed or ChunkyMonotone. |
regionChunkSplits | string | Region chunk splits for ChunkyMonotone. |
layerChunkSplits | string | Layer chunk splits for ChunkyMonotone. |
performVoxelFiltering | string | Voxel filtering (true/false). |
markLowHeightAreas | string | Mark low-height areas (true/false). |
filterLowSpanSequences | string | Filter low span sequences (true/false). |
filterLowSpanFromTileCache | string | Filter low spans from the tile cache (true/false). |
sortNavigationAreasByCost | string | Sort navigation areas by cost (true/false). |
generateNavLinks | string | Experimental automatic nav link generation (true/false, UE 5.5+). |
Returns: items, count, values, message.
nav.set_navmesh_properties (risk 2, mutates, requires world, smoke)
Writes a batch of reflected Recast fields as one transactional navmesh edit.
| Argument | Type | Description |
|---|---|---|
properties | array of UeaKeyValue | required. Property/value pairs on the navigation settings object. |
Returns: items, count, values, message.
nav.set_query_filter_area (risk 2, mutates, smoke)
Adds or edits one area override of a Blueprint query filter (travel cost, entering cost, exclusion).
| Argument | Type | Description |
|---|---|---|
filter | string | required. NavigationQueryFilter Blueprint asset path or unique name. |
areaClass | string | required. NavArea class path or name. |
travelCost | string | Travel cost override (> 0); "none" clears the override. |
enteringCost | string | Entering cost override (>= 0); "none" clears the override. |
excluded | string | Exclude the area from paths (true/false). |
Returns: filter, areas, includeFlags, excludeFlags, count, message.
nav.set_query_settings (risk 2, mutates, requires world, smoke)
Sets path query tuning of a RecastNavMesh (applies to the next queries, no rebuild needed).
| Argument | Type | Description |
|---|---|---|
navData | string | RecastNavMesh label/name; empty selects the only one. |
maxSearchNodes | string | Default maximum A* search nodes (>= 1). |
maxHierarchicalSearchNodes | string | Default maximum hierarchical search nodes (>= 1). |
heuristicScale | string | A* heuristic scale (>= 0; 0.999 keeps paths optimal). |
verticalDeviationFromGroundCompensation | string | Vertical offset added to projected path points in centimetres. |
useBetterOffsetsFromCorners | string | Offset string-pulled corners away from walls (true/false). |
allowNavLinkAsPathEnd | string | Allow a nav link as the path end (true/false). |
useVirtualFilters | string | Use virtual query filters (true/false). |
Returns: navData, maxSearchNodes, maxHierarchicalSearchNodes, heuristicScale, verticalDeviationFromGroundCompensation, useBetterOffsetsFromCorners, allowNavLinkAsPathEnd, useVirtualFilters, message.
nav.set_resolution (risk 2, mutates, requires world, smoke)
Sets cell size, cell height and step height of one resolution (Low/High need UE 5.2; per-resolution step height needs UE 5.3). Rebuild afterwards.
| Argument | Type | Description |
|---|---|---|
navData | string | RecastNavMesh actor label/name; empty selects the only one. |
resolution | string | Low, Default or High (UE 5.2+); before 5.2 only Default exists. Default TEXT("Default"). |
cellSize | string | Cell size in centimetres. |
cellHeight | string | Cell height in centimetres. |
agentMaxStepHeight | string | Maximum step height in centimetres (per resolution from UE 5.3). |
Returns: navData, perResolution, rows, message.
nav.set_runtime_generation (risk 2, mutates, requires world, smoke)
Sets the runtime generation mode (Static, Dynamic, DynamicModifiersOnly) of one navigation data actor; rebuild afterwards.
| Argument | Type | Description |
|---|---|---|
navData | string | Navigation data actor label/name; empty selects the only one. |
mode | string | required. Static, Dynamic or DynamicModifiersOnly. |
Returns: navData, count, message.
nav.set_rvo_avoidance (risk 2, mutates, requires world, smoke)
Sets RVO avoidance of a placed Character (use nav.set_agent_blueprint for Blueprint defaults).
| Argument | Type | Description |
|---|---|---|
actor | string | required. Character actor label/name. |
enabled | boolean | required. Enable RVO avoidance. |
radius | string | Optional non-negative consideration radius. |
weight | string | Optional avoidance weight from zero through one. |
Returns: items, count, values, message.
nav.set_settings (risk 4)
Changes reflected project navigation settings and writes DefaultEngine.ini.
| Argument | Type | Description |
|---|---|---|
properties | array of UeaKeyValue | required. Property/value pairs on the navigation settings object. |
Returns: items, count, values, message.
nav.set_smart_link (risk 2, mutates, requires world, smoke)
Enables/disables the smart link of a proxy (and its navigation relevance).
| Argument | Type | Description |
|---|---|---|
actor | string | required. NavLinkProxy actor label/name. |
index | integer | Simple-link index. Default 0. |
start | {x,y,z} | Link start in world centimetres. |
end | {x,y,z} | Link end in world centimetres. |
bidirectional | boolean | Both-way traversal. Default true. |
areaClass | string | Optional NavArea class. |
enabled | boolean | Smart link enabled state. Default true. |
Returns: items, count, values, message.
nav.set_smart_link_areas (risk 2, mutates, requires world, smoke)
Sets the NavArea used while the smart link is enabled and while it is disabled.
| Argument | Type | Description |
|---|---|---|
actor | string | required. NavLinkProxy label/name. |
enabledArea | string | NavArea used while the smart link is enabled. |
disabledArea | string | NavArea used while the smart link is disabled. |
Returns: links, count, message.
nav.set_smart_link_broadcast (risk 2, mutates, requires world, smoke)
Configures the smart-link state broadcast that notifies nearby agents (radius, interval, on enable/disable).
| Argument | Type | Description |
|---|---|---|
actor | string | required. NavLinkProxy label/name. |
radius | string | Broadcast radius in centimetres (> 0 enables the broadcast). |
interval | string | Broadcast interval in seconds (0 = only on state change). |
notifyWhenEnabled | string | Notify nearby agents when the link becomes enabled (true/false). |
notifyWhenDisabled | string | Notify nearby agents when the link becomes disabled (true/false). |
Returns: links, count, message.
nav.set_smart_link_obstacle (risk 2, mutates, requires world, smoke)
Adds a box obstacle (NavArea over a box) that the smart link applies while it is disabled.
| Argument | Type | Description |
|---|---|---|
actor | string | required. NavLinkProxy label/name. |
areaClass | string | required. NavArea applied by the obstacle. |
extent | {x,y,z} | Positive box half extent in centimetres. Default FUeaVec3(50.0, 50.0, 50.0). |
offset | {x,y,z} | Box offset relative to the link in centimetres. |
Returns: links, count, message.
nav.set_smart_link_points (risk 2, mutates, requires world, smoke)
Sets the smart-link endpoints (world points) and direction.
| Argument | Type | Description |
|---|---|---|
actor | string | required. NavLinkProxy label/name. |
start | {x,y,z} | required. Start in world centimetres. |
end | {x,y,z} | required. End in world centimetres. |
direction | string | BothWays, LeftToRight or RightToLeft. Default TEXT("BothWays"). |
Returns: links, count, message.
nav.set_tile_cache (risk 2, mutates, requires world, smoke)
Sets tile pool and generation job settings (fixed pool, pool size, hard limit, simultaneous jobs, empty layers, voxel cache, update interval).
| Argument | Type | Description |
|---|---|---|
navData | string | RecastNavMesh actor label/name; empty selects the only one. |
fixedTilePoolSize | string | Use a fixed-size tile pool (true/false). |
tilePoolSize | string | Tile pool size when the pool is fixed. |
tileNumberHardLimit | string | Absolute tile limit (power of two). |
maxSimultaneousJobs | string | Maximum simultaneous tile generation jobs (at least 1). |
storeEmptyTileLayers | string | Keep empty tile layers in the tile cache (true/false). |
useVoxelCache | string | Cache voxel data between rebuilds (true/false). |
tileSetUpdateInterval | string | Seconds between tile set updates for invoker-driven generation. |
Returns: navData, fixedTilePoolSize, tilePoolSize, tileNumberHardLimit, maxSimultaneousJobs, storeEmptyTileLayers, useVoxelCache, tileSetUpdateInterval, tileSizeUU, tileCount, message.
nav.snap_links_to_navmesh (risk 2, mutates, requires world, smoke)
Projects simple-link endpoints onto the navmesh (index -1 = every link).
| Argument | Type | Description |
|---|---|---|
actor | string | required. NavLinkProxy actor label/name. |
index | integer | Simple-link index. Default 0. |
start | {x,y,z} | Link start in world centimetres. |
end | {x,y,z} | Link end in world centimetres. |
bidirectional | boolean | Both-way traversal. Default true. |
areaClass | string | Optional NavArea class. |
enabled | boolean | Smart link enabled state. Default true. |
Returns: items, count, values, message.
nav.spawn_test_agent (risk 1, requires PIE, smoke)
Spawns a pawn (default Character) possessed by an AIController (DetourCrowdAIController with crowd) in the PIE world. With ensureNavData the PIE navigation system also gets its default navigation data actor.
| Argument | Type | Description |
|---|---|---|
name | string | Label for the spawned pawn. Default TEXT("NavTestAgent"). |
controllerName | string | Label for its AIController; empty uses name + "Controller". |
location | {x,y,z} | Spawn location in centimetres (PIE world). |
pawnClass | string | Pawn class path or name; empty spawns a plain Character. |
controllerClass | string | AIController class path or name; empty uses the pawn's own AIControllerClass (AIController for Character), or DetourCrowdAIController with crowd. |
crowd | boolean | Use a DetourCrowdAIController so the agent takes part in crowd avoidance (ignored when controllerClass is set). Default false. |
ensureNavData | boolean | When the PIE world has no navigation data, create the default one so runtime queries have a target. Default true. |
Returns: items, count, values, message.
nav.test_path (risk 0, requires world, smoke)
Tests whether a complete path exists (same selectors as nav.find_path).
| Argument | Type | Description |
|---|---|---|
start | {x,y,z} | required. Path start in centimetres. |
end | {x,y,z} | required. Path end in centimetres. |
navData | string | Navigation data actor label/name; empty uses the agent's data or the world's default navigation data. |
agent | string | Supported agent name (project navigation settings) whose navigation data is queried; empty uses navData or the default. |
filterClass | string | NavigationQueryFilter class path or name (e.g. a Blueprint filter); empty uses the navigation data's default filter. |
allowPartial | boolean | Accept partial paths that end at the closest reachable point. Default true. |
Returns: valid, partial, points, length, cost, navData, result, message.
nav.test_path_to_actor (risk 0, requires world, smoke)
Tests whether a path can be found to an actor's current location.
| Argument | Type | Description |
|---|---|---|
start | {x,y,z} | required. Path start in centimetres. |
goalActor | string | required. Goal actor label or name. |
tetherDistance | number | Moving-goal tether distance in centimetres. Default 50.0. |
Returns: valid, partial, points, length, cost, navData, result, message.
nav.validate (risk 0, requires world, smoke)
Validates bounds, navigation data and simple links.
No arguments.
Returns: issues, count.
nav.validate_link_proxy (risk 0, requires world, smoke)
Validates one link proxy in depth: coincident or off-mesh endpoints, drops longer than maxFallDownLength, smart-link consistency.
| Argument | Type | Description |
|---|---|---|
actor | string | required. Actor label or object name (must match exactly one actor). |
Returns: issues, count.
nav.validate_path_endpoints (risk 0, requires world, smoke)
Projects both endpoints before testing a path, exposing invalid endpoints separately.
| Argument | Type | Description |
|---|---|---|
start | {x,y,z} | required. Path start in centimetres. |
end | {x,y,z} | required. Path end in centimetres. |
navData | string | Navigation data actor label/name; empty uses the agent's data or the world's default navigation data. |
agent | string | Supported agent name (project navigation settings) whose navigation data is queried; empty uses navData or the default. |
filterClass | string | NavigationQueryFilter class path or name (e.g. a Blueprint filter); empty uses the navigation data's default filter. |
allowPartial | boolean | Accept partial paths that end at the closest reachable point. Default true. |
Returns: items, count, values, message.
nav.wait_build (risk 0, requires world, smoke)
Waits off the game thread until the outstanding navigation build completes or times out.
| Argument | Type | Description |
|---|---|---|
maxFrames | integer | Maximum editor frames to wait, from 1 through 100000. Default 600. |
Returns: available, building, remainingTasks, boundsVolumes, navDataCount, autoUpdate, dirty, message.