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
NavMeshLinkType
chevron_left Classes
class
NavMeshLinkType

Constructors

functionsNavMeshLinkType

Properties

data_objectColordata_objectCostMultiplierdata_objectPenalty

Static Properties

data_objectClimbdata_objectCrawldata_objectDropdata_objectInteractdata_objectJumpdata_objectLadderdata_objectTeleport
NavMeshLinkType
A kind of navigation link, such as a jump or a ladder. Agents allow or refuse links by it, paths are priced by it, and game code picks how to cross a link by it. The engine ships the ones below so that agents and levels from different games agree on them. Games add their own for anything else.
class Sandbox.Engine.Resources .account_tree extends GameResource
sealedSandbox.Engine

build Constructors 1

NavMeshLinkType ()

data_object Properties 3

Color
Color
Debug color for links of this type.
CostMultiplier
float
How much costlier it is to cross a link of this type than to walk its length. Will be clamped.
Penalty
float
How much further in world units an agent would rather walk than take a link of this type.

data_object Static Properties 7

Climb
NavMeshLinkType
Go up or down a face, then onto the end.
Crawl
NavMeshLinkType
A low passage crossed crouched or prone.
Drop
NavMeshLinkType
Step off and fall to the end. Generated drops are of this type.
Interact
NavMeshLinkType
Something the agent operates before passing, such as a door, button or lift.
Jump
NavMeshLinkType
A ballistic arc from start to end, up, down or across. Generated jumps are of this type.
Ladder
NavMeshLinkType
Move along a ladder and step off at the end.
Teleport
NavMeshLinkType
An instant move with no motion in between.

Inheritance

Resource
GameResource
NavMeshLinkType
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