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
gamejams
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
Get s&box
Sign in with Steam
Api
Classes
LinkTraversalState
chevron_left Classes
struct
LinkTraversalState

Properties

data_objectDurationdata_objectEnddata_objectLinkdata_objectProgressdata_objectStartdata_objectTypedata_objectVelocity
LinkTraversalState
The link being crossed, for animation to react to. Host only.
struct Sandbox.Npcs.Layers.NavigationLayer .
sealedSandbox.Engine

data_object Properties 7

Duration
float
Zero for a custom traversal the NPC runs itself.
End
Vector3
Where the link lets the NPC off.
Link
NavMeshLink
The link component being crossed, when it has one.
Progress
float
How far through the crossing the NPC is, from 0 to 1.
Start
Vector3
Where the NPC was when it entered the link.
Type
NavMeshLinkType
How it is being crossed: the link's type, or null when it is crossed as a plain link.
Velocity
Vector3
How the NPC moved over the last update of the crossing.
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