Skip to content

NavMesh

The Navigation Mesh is a three-dimensional grid used for pathfinding and navigation, typically used for character movement and AI navigation in games.

静态方法

NavMesh.SamplePosition ( pos : Vector3 , maxDist : number , areaFlags : number ) : NavMeshHit
Get the closest valid position to a specified point. Used to sample a valid position at the specified point on the navigation mesh.