s&
About
The Project
info
About s&box
map
Roadmap
monitoring
Metrics
Engine startup and usage numbers
Updates
newspaper
Latest News
jams
Workshop
Steam
open_in_new
Steam Workshop
Assets
view_in_ar
Models
texture
Materials
apparel
Clothing
Forum
Learn
Documentation
rocket_launch
Getting Started
docs
Documentation
api
API Reference
Resources
school
Tutorials
manage_search
Code Search
Get s&box
Sign in with Steam
Api
Classes
NavMesh
GetClosestEdge
chevron_left
Classes
class
NavMesh
Properties
data_object
AgentHeight
data_object
AgentMaxDrop
data_object
AgentMaxJumpDistance
data_object
AgentMaxJumpHeight
data_object
AgentMaxSlope
data_object
AgentRadius
data_object
AgentStepSize
data_object
Bounds
data_object
CustomBounds
data_object
DeferGeneration
data_object
DrawMesh
data_object
EditorAutoUpdate
data_object
ExcludedBodies
data_object
GenerateLinks
data_object
IncludedBodies
data_object
IncludeKeyframedBodies
data_object
IncludeStaticBodies
data_object
IsDirty
data_object
IsEnabled
data_object
IsGenerating
Methods
functions
CalculatePath
functions
CalculatePathAsync
functions
Dispose
functions
Generate
functions
GenerateTile
functions
GenerateTiles
functions
GetClosestEdge
functions
GetClosestPoint
functions
GetRandomPoint
remove_circle
GetSimplePath
functions
RequestTileGeneration
functions
RequestTilesGeneration
functions
SetDirty
functions
UnloadTile
functions
UnloadTiles
Static Methods
remove_circle
BakeNavMesh
GetClosestEdge
The closest point on the outline of the navmesh, seen from the closest point on the navmesh in the box. Null when there is no navmesh in the box or no outline within its half width of that point.
method
2 overloads
Overloads
1
2
System.Nullable
<
Vector3
>
GetClosestEdge
(
BBox
box
)
Parameters
Name
Type
Description
box
BBox
Returns
Type
Description
System.Nullable
<
Vector3
>
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.