Module nav

Source

Structs§

DynamicAttributeFlags
GroupId
InvalidNavFileError
Nav
NavArea
A navigation area in the map.
PathResult
Result of a pathfinding operation.

Enums§

AreaIdent
Enum for path finding input.

Traits§

AreaLike

Functions§

areas_audible
areas_visible
Checks if two areas are visible to each other.
areas_walkable
Checks if two areas are walkable to each other.
centroid
Computes the centroid of the polygon (averaging all corners).
get_visibility_cache
Get or build a cache of visibility between all area pairs in a nav mesh.
group_nav_areas
Groups the nav areas into groups of a certain size.
py_group_nav_areas
py_regularize_nav_areas
regularize_nav_areas
Build a regularized navigation mesh with a fixed granularity from the original navigation areas.