s&
newspaper
About
info
About s&box
newspaper
Latest News
published_with_changes
Changes
map
Roadmap
monitoring
Metrics
games
Games
sports_esports
Browse Games
rocket
Discover Games
business_center
Workshop
sports_esports
Games
landscape
Maps
chair
Models
texture
Materials
apparel
Clothing
construction
More..
forum
Forum
docs
Docs
docs
Documentation
dashboard
Api Reference
school
Tutorials
input
Log in with Steam
chevron_left
Change Language
简体中文
English
Русский
Español
Português-Brasil
Deutsch
日本語
Français
Polski
Türkçe
한국어
Pirate
Italiano
ไทย
繁體中文
Українська
Čeština
Nederlands
Magyar
Dansk
Suomi
Svenska
Norsk
Ελληνικά
Română
Български
Tiếng Việt
Bahasa Indonesia
Español-Latinoamérica
العربية
Api
Components
NavMeshLink
chevron_left
Components
class
NavMeshLink
search
Constructors
functions
NavMeshLink
Fields
crop_din
ConnectionRadius
crop_din
IsBiDirectional
Properties
data_object
Area
data_object
LinkEntered
data_object
LinkExited
data_object
LocalEndPosition
data_object
LocalStartPosition
data_object
WorldEndPosition
data_object
WorldEndPositionOnNavmesh
data_object
WorldStartPosition
data_object
WorldStartPositionOnNavmesh
Methods
lock
DrawGizmos
lock
OnLinkEntered
lock
OnLinkExited
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.