s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News published_with_changesChangesRelease-by-release changelog
Games
Browse Games Discover Games
gamejamslive now

Game Jam III

Ends Fri 25 Sep
ThemeOne More Round

The jam is running. Build something, or play the entries.

£50,000
prizepool
View the jam
Workshop
Playable
sports_esportsGamesStandalone games and gamemodes
Assets
landscapeMaps view_in_arModels textureMaterials apparelClothing
appsEverythingEvery asset type in one list
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
inputLog in with Steam chevron_leftChange Language
简体中文EnglishРусскийEspañolPortuguês-BrasilDeutsch日本語FrançaisPolskiTürkçe한국어PirateItalianoไทย繁體中文УкраїнськаČeštinaNederlandsMagyarDanskSuomiSvenskaNorskΕλληνικάRomânăБългарскиTiếng ViệtBahasa IndonesiaEspañol-Latinoaméricaالعربية
Api
Components
NavMeshLink
chevron_left Components
class
NavMeshLink

Constructors

functionsNavMeshLink

Fields

crop_dinConnectionRadiuscrop_dinIsBiDirectional

Properties

data_objectAreadata_objectLinkEntereddata_objectLinkExiteddata_objectLocalEndPositiondata_objectLocalStartPositiondata_objectWorldEndPositiondata_objectWorldEndPositionOnNavmeshdata_objectWorldStartPositiondata_objectWorldStartPositionOnNavmesh

Methods

lockDrawGizmoslockOnLinkEnteredlockOnLinkExited
NavMeshLink
NavigationLinks connect navigation mesh polygons for pathfinding and enable shortcuts like ladders, jumps, or teleports.
class Sandbox .account_tree extends Component
Sandbox.Engine

build Constructors 1

NavMeshLink ()

crop_din Fields 2

ConnectionRadius
float
Radius that will be searched at the start and end positions for a connection to the navmesh.
IsBiDirectional
bool
Whether this link can be traverse bi-directional or only start towards end.

data_object Properties 9

Area
NavMeshAreaDefinition
The NavMesh area definition to apply to this link.
LinkEntered
Action`1
Emitted when an agent enters the link.
LinkExited
Action`1
Emitted when an agent exits the link.
LocalEndPosition
Vector3
End position relative to the game object's position.
LocalStartPosition
Vector3
Start position relative to the game object's position.
WorldEndPosition
Vector3
End position in world space.
WorldEndPositionOnNavmesh
Nullable`1
End position in world space snapped to the navmesh.
WorldStartPosition
Vector3
Start position in world space.
WorldStartPositionOnNavmesh
Nullable`1
Start position in world space snapped to the navmesh.

functions Methods 3

DrawGizmos ()
OnLinkEntered (agent)
Called when an agent enters the link.
OnLinkExited (agent)
Called when an agent exits the link.

Inheritance

Component
NavMeshLink
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.
Facepunch
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter