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
| Type | Name | Description |
|---|---|---|
bool | enabled | Default true. |
Vec3 | endA | Default Vec3(0, 0, 0). |
Vec3 | endB | Default Vec3(1, 0, 0). |
float | radius | Default 0.5f. |
bool | bidirectional | Default true. |
int32_t | areaType | Default 0. |
int32_t | userFlag | Default 0x01. |
bool | linkEnabled | Default true. |
bool | smartLink | Default false. |
std::string | traversalTag |
Constructors
| Signature | Name | Description |
|---|---|---|
NavMeshLinkComponent() = default | NavMeshLinkComponent |
Function details
NavMeshLinkComponent
C++
NavMeshLinkComponent() = defaultGenerated from Game/Components/NavMeshLinkComponent.h via game.json · Nov 5, 2026Version 1.0.0