Summary

Navigation Mesh - allowing AI to navigate a world

Properties

AgentHeight Height of the agent
AgentMaxSlope The maximum slope an agent can walk up (in degrees)
AgentRadius The radius of the agent. This will change how much gap is left on the edges of surfaces, so they don't clip into walls.
AgentStepSize The maximum height an agent can climb (step)
DrawMesh Draw the navigation mesh in the editor
EditorAutoUpdate Constantly update the navigation mesh in the editor
ExcludedBodies Don't include these bodies in the generation
IncludedBodies If any, we'll only include bodies with this tag
IncludeKeyframedBodies Should the generator include keyframed bodies
IncludeStaticBodies Should the generator include static bodies
IsDirty The navigation mesh is dirty and needs a complete rebuild
IsEnabled Determines wether the navigation mesh is enabled and should be generated
IsGenerating The navigation mesh is generating

Methods

Dispose
Generate
GenerateTile Generates or regenerates the navmesh tile at the given world position. This function is thread safe but can only be called from the main thread.
GenerateTiles Generates or regenerates the navmesh tiles overlapping with the given bounds. This function is thread safe but can only be called from the main thread.
GetClosestEdge
GetClosestPoint
GetRandomPoint
GetSimplePath
SetDirty Set the navgiation a dirty, so it will rebuild next update
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.