s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News
jams
Workshop
Steam
open_in_newSteam Workshop
Assets
view_in_arModels textureMaterials apparelClothing
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
Get s&box
Sign in with Steam
Api
Classes
NavMesh
RequestTileGeneration
chevron_left Classes
class
NavMesh

Properties

data_objectAgentHeightdata_objectAgentMaxDropdata_objectAgentMaxJumpDistancedata_objectAgentMaxJumpHeightdata_objectAgentMaxSlopedata_objectAgentRadiusdata_objectAgentStepSizedata_objectBoundsdata_objectCustomBoundsdata_objectDeferGenerationdata_objectDrawMeshdata_objectEditorAutoUpdatedata_objectExcludedBodiesdata_objectGenerateLinksdata_objectIncludedBodiesdata_objectIncludeKeyframedBodiesdata_objectIncludeStaticBodiesdata_objectIsDirtydata_objectIsEnableddata_objectIsGenerating

Methods

functionsCalculatePathfunctionsCalculatePathAsyncfunctionsDisposefunctionsGeneratefunctionsGenerateTilefunctionsGenerateTilesfunctionsGetClosestEdgefunctionsGetClosestPointfunctionsGetRandomPointremove_circleGetSimplePathfunctionsRequestTileGenerationfunctionsRequestTilesGenerationfunctionsSetDirtyfunctionsUnloadTilefunctionsUnloadTiles

Static Methods

remove_circleBakeNavMesh
RequestTileGeneration
Queues the navmesh tile at the given world position for incremental generation over subsequent frames. Fire-and-forget alternative to Sandbox.Navigation.NavMesh.GenerateTile(Sandbox.PhysicsWorld,Vector3).
method
void RequestTileGeneration (Vector3 worldPosition)

Parameters

NameTypeDescription
worldPosition Vector3
Declared in Sandbox.Navigation.NavMesh ยท Assembly Sandbox.Engine
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