KX_NavMeshObject(KX_GameObject)¶
base class — KX_GameObject
Python interface for using and controlling navigation meshes.
Finds the path from start to goal points.
Parameters: - start – the start point
- start – 3D Vector
- goal – the goal point
- start – 3D Vector
Returns: a path as a list of points
Return type: list of points
Raycast from start to goal points.
Parameters: - start – the start point
- start – 3D Vector
- goal – the goal point
- start – 3D Vector
Returns: the hit factor
Return type:
Draws a debug mesh for the navigation mesh.
Parameters: - mode – the drawing mode (one of these constants)
- mode – integer
Returns: None
Rebuild the navigation mesh.
Returns: None