Scripting API
Scripting API
NavMeshLink3D
Struct in Abyss.Navigation, from Abyss.Navigation.
A way across what the navmesh cannot walk: a gap to jump, a ledge to drop off, a ladder. Baked into the navmesh of each surface that collects its entity, from NavMeshLink3D.Start to NavMeshLink3D.End, so a path is planned across it as it is across a floor of its NavMeshLink3D.Area; an agent crosses it by itself, or waits at its start for the game's code where its Auto Traverse is off.
public struct NavMeshLink3DRemarks
Each end on the navmesh, or within the agent's radius across of it and its step up or down: an end too far from it joins nothing, and the link is not crossed.
As wide as NavMeshLink3D.Width: several links side by side, an agent's width apart, so a crowd crosses a wide gap abreast; 0 for one.
Constructors
NavMeshLink3D
public NavMeshLink3D()From a meter behind its entity to a meter in front, both ways, Walkable.
Fields
Start
public Vector3 StartWhere it starts, in its entity's own units.
End
public Vector3 EndWhere it ends, in its entity's own units.
Width
public float WidthHow wide it is, in meters, across the way it goes: 0 for one link.
BothWays
public bool BothWaysWhether it is crossed from its end to its start too.
Area
public int AreaThe area it counts as, by its place in Project Settings ▸ Navigation: what crossing it costs, and which agents may.
