NsdkNavMesh
This class manages the data structures associated with a navigation mesh ("NsdkNavMesh")....
Declaration
public class NsdkNavMeshSummary
This class manages the data structures associated with a navigation mesh ("NsdkNavMesh"). It dynamically builds a 2d grid on the meshes detected in the environment for running navigation algorithms on. You are able to retrieve a number of properties of the "NsdkNavMesh" from it. There are also a number of methods to help you place and move NsdkNavMeshAgents on the board.
Constructors
public NsdkNavMesh(ModelSettings settings, bool visualise)
Properties
| Name | Type | Summary |
|---|---|---|
| Area | float | - |
| readonly Settings | ModelSettings | - |
| readonly Surfaces | List<Surface> | - |
Methods
| Name | Type | Summary |
|---|---|---|
| CalculatePath | bool | - |
| CheckFit | bool | - |
| Clear | void | - |
| Destroy | void | - |
| FindNearestFreePosition | bool | - |
| FindRandomPosition | bool | - |
| IsOnNavMesh | bool | - |
| Prune | void | - |
| RayCast | bool | - |
| Scan | void | - |