struct

NavMeshLinkComponent

Off-mesh connection — a manual traversal link between two points on the nav mesh. Agents take it when its endpoints are on the planned route; useful for jumps, teleports, ladders, drop-down ledges, doors that aren't on the same polygon island.

Module
Game
Header
#include "Game/Components/NavMeshLinkComponent.h"
Namespace
Mowo
Reflection
Reflected by MowoHeaderTool

Endpoints are stored in world space (set them via the editor gizmo or from script: agent.SetDestination on the other side will route through the link automatically once it's part of the baked nav mesh).

Lifecycle: links are baked INTO the dtNavMesh — they're not runtime dynamic. Add the component, re-bake, and the connection appears in pathfinding. To change a link, edit it and re-bake.

Properties

TypeNameDescription
boolenabledDefault true.
Vec3endADefault Vec3(0, 0, 0).
Vec3endBDefault Vec3(1, 0, 0).
floatradiusDefault 0.5f.
boolbidirectionalDefault true.
int32_tareaTypeDefault 0.
int32_tuserFlagDefault 0x01.
boollinkEnabledDefault true.
boolsmartLinkDefault false.
std::stringtraversalTag

Constructors

SignatureNameDescription
NavMeshLinkComponent() = defaultNavMeshLinkComponent

Function details

C++
NavMeshLinkComponent() = default
Generated from Game/Components/NavMeshLinkComponent.h via game.json · Nov 5, 2026Version 1.0.0