๐ข Navigation
Creates a reachable path into navigable space.
๐ฟย Static Functionsโ
| Returns | Name | Description | |
|---|---|---|---|
| table | FindPathToLocation | Finds a Path given Start and End location | |
| Vector | GetRandomPointInNavigableRadius | Finds random, point in navigable space restricted to Radius around Origin. Resulting location is not tested for reachability from the Origin | |
| Vector | GetRandomReachablePointInRadius | Finds random, reachable point in navigable space restricted to radius around origin |
Moderate

FindPathToLocationโ
Finds a Path given Start and End location (only if map has a NavMesh)
local ret = Navigation.FindPathToLocation(start_location, end_location)
Parameters
| Type | Parameter | Default | Description |
|---|---|---|---|
| Vector | start_location | Required parameter | No description provided |
| Vector | end_location | Required parameter | No description provided |
Returns
| Type | Description |
|---|---|
| table | with this format |
Moderate

GetRandomPointInNavigableRadiusโ
Finds random, point in navigable space restricted to Radius around Origin. Resulting location is not tested for reachability from the Origin (only if map has a NavMesh)
local ret = Navigation.GetRandomPointInNavigableRadius(origin, radius)
Parameters
| Type | Parameter | Default | Description |
|---|---|---|---|
| Vector | origin | Required parameter | No description provided |
| float | radius | Required parameter | No description provided |
Returns
| Type | Description |
|---|---|
| Vector | The random point |
Moderate

GetRandomReachablePointInRadiusโ
Finds random, reachable point in navigable space restricted to radius around origin (only if map has a NavMesh)
local ret = Navigation.GetRandomReachablePointInRadius(origin, radius)
Parameters
| Type | Parameter | Default | Description |
|---|---|---|---|
| Vector | origin | Required parameter | No description provided |
| float | radius | Required parameter | No description provided |
Returns
| Type | Description |
|---|---|
| Vector | The random point |
๐ย Eventsโ
This class doesn't have own events.
