Provides access to the main PathFinding Query of Navigation.
Constructors and accessors 
Other related reference items 
Related help topics 
|   | cancel ( self ) 
If the specified GwNavAStar has not yet finished it will be cancelled and no computation will take place.
 | 
| self : | Specifies the object instance that this function will act on. You must always provide this self parameter when you call this function. You must use                                        the dot . calling syntax, not the object-oriented colon : calling syntax.For more information, see Object lifetimes and userdata binding, or                                        this page in the Lua documentation. | 
| This function does not return any values. | 
|   | compute_async ( self ) 
Starts the asynchronous processing of the GwNavAStar, returns immediately.
 | 
| self : | Specifies the object instance that this function will act on. You must always provide this self parameter when you call this function. You must use                                        the dot . calling syntax, not the object-oriented colon : calling syntax.For more information, see Object lifetimes and userdata binding, or                                        this page in the Lua documentation. | 
| This function does not return any values. | 
|   | compute_blocking ( self ) 
Computes the GwNavAStar synchronously, the path will accessible when the function returns.
 | 
| self : | Specifies the object instance that this function will act on. You must always provide this self parameter when you call this function. You must use                                        the dot . calling syntax, not the object-oriented colon : calling syntax.For more information, see Object lifetimes and userdata binding, or                                        this page in the Lua documentation. | 
| This function does not return any values. | 
Other related reference items 
|   | create ( database_or_world ) : stingray.GwNavAStar 
Creates a GwNavAStar object.
 | 
| database_or_world : | The GwNavDatabase to run the AStar onto. If a GwNavWorld, the default GwNavDatabase will be used. The any(...) notation indicates that this item may be an instance of any of the types shown in the parentheses. | 
| The created GwNavAStar. | 
|   | destroy ( self ) 
Destroys the specified GwNavAStar.
 | 
| self : | Specifies the object instance that this function will act on. You must always provide this self parameter when you call this function. You must use                                        the dot . calling syntax, not the object-oriented colon : calling syntax.For more information, see Object lifetimes and userdata binding, or                                        this page in the Lua documentation. | 
| This function does not return any values. | 
|   | initialize ( self, start, dest ) 
Initializes the specified GwNavAStar.
 | 
| self : | Specifies the object instance that this function will act on. You must always provide this self parameter when you call this function. You must use                                        the dot . calling syntax, not the object-oriented colon : calling syntax.For more information, see Object lifetimes and userdata binding, or                                        this page in the Lua documentation. | |
| start : | The position to start from. | |
| dest : | The position to path to. | 
| This function does not return any values. | 
|   | is_safe_to_read_result ( self ) : boolean 
Returns whether or not it is then safe to read result for the specified GwNavAStar.
 | 
| self : | Specifies the object instance that this function will act on. You must always provide this self parameter when you call this function. You must use                                        the dot . calling syntax, not the object-oriented colon : calling syntax.For more information, see Object lifetimes and userdata binding, or                                        this page in the Lua documentation. | 
| boolean | true if processing has finished and it is then safe to read result from the AStar query, false otherwise. | 
|   | node_at_index ( self ) : stingray.Vector3? 
Returns the position of the node at the given index for the specified GwNavAStar.
 | 
| self : | Specifies the object instance that this function will act on. You must always provide this self parameter when you call this function. You must use                                        the dot . calling syntax, not the object-oriented colon : calling syntax.For more information, see Object lifetimes and userdata binding, or                                        this page in the Lua documentation. | 
| If the specified index is valid, returns the position of the node at that index. Otherwise returns nil. The ? notation indicates that this type is optional: there may be zero or one instances of it. | 
|   | node_count ( self ) : number 
Returns the number of nodes in the path of the specified GwNavAStar.
 | 
| self : | Specifies the object instance that this function will act on. You must always provide this self parameter when you call this function. You must use                                        the dot . calling syntax, not the object-oriented colon : calling syntax.For more information, see Object lifetimes and userdata binding, or                                        this page in the Lua documentation. | 
| number | The number of nodes of the path (0 if no path was found). | 
|   | path_cost ( self ) : number 
Returns the cost of the path of the specified GwNavAStar.
 | 
| self : | Specifies the object instance that this function will act on. You must always provide this self parameter when you call this function. You must use                                        the dot . calling syntax, not the object-oriented colon : calling syntax.For more information, see Object lifetimes and userdata binding, or                                        this page in the Lua documentation. | 
| number | The cost of the path (0 if no path was found). | 
|   | path_distance ( self ) : number 
Returns the distance in meters of the path of the specified GwNavAStar.
 | 
| self : | Specifies the object instance that this function will act on. You must always provide this self parameter when you call this function. You must use                                        the dot . calling syntax, not the object-oriented colon : calling syntax.For more information, see Object lifetimes and userdata binding, or                                        this page in the Lua documentation. | 
| number | The distance of the path (0 if no path was found). | 
|   | path_found ( self ) : boolean 
Returns whether or not the specified GwNavAStar was able to find a path.
 | 
| self : | Specifies the object instance that this function will act on. You must always provide this self parameter when you call this function. You must use                                        the dot . calling syntax, not the object-oriented colon : calling syntax.For more information, see Object lifetimes and userdata binding, or                                        this page in the Lua documentation. | 
| boolean | true if a path was found, false otherwise. | 
|   | set_channel_advanced_config ( self, turn_sampling_angle, channel_smoothing_angle, min_distance_between_gates, max_distance_between_gates ) 
Sets the channel configuration for the specified bot.
 | 
| self : | Specifies the object instance that this function will act on. You must always provide this self parameter when you call this function. You must use                                        the dot . calling syntax, not the object-oriented colon : calling syntax.For more information, see Object lifetimes and userdata binding, or                                        this page in the Lua documentation. | |
| turn_sampling_angle : | number | Turns greater than this value will be split into equal fans. In degrees. | 
| channel_smoothing_angle : | number | The maximal angle of the Channel, taken with path edge direction as reference, when entering or quiting open space. Range: [1, 89]. | 
| min_distance_between_gates : | number | This distance defines minimum distance between two consecutive gates that are added during the widening between two "turn gates". | 
| max_distance_between_gates : | number | This distance defines maximum distance between two consecutive gates that are added during the widening between two "turn gates". | 
| This function does not return any values. | 
|   | set_channel_radius ( self, channel_radius ) 
Sets the channel configuration for the specified bot.
 | 
| self : | Specifies the object instance that this function will act on. You must always provide this self parameter when you call this function. You must use                                        the dot . calling syntax, not the object-oriented colon : calling syntax.For more information, see Object lifetimes and userdata binding, or                                        this page in the Lua documentation. | |
| channel_radius : | number | The distance between the path and the Channel borders. In meters.. | 
| This function does not return any values. | 
|   | set_channel_radius ( self, channel_radius ) 
Sets the channel configuration for the specified bot.
 | 
| self : | Specifies the object instance that this function will act on. You must always provide this self parameter when you call this function. You must use                                        the dot . calling syntax, not the object-oriented colon : calling syntax.For more information, see Object lifetimes and userdata binding, or                                        this page in the Lua documentation. | |
| channel_radius : | number | The distance between the path and the Channel borders. In meters.. | 
| This function does not return any values. | 
|   | set_outside_navmesh_distance ( self, from_outside_navmesh_distance, to_outside_navmesh_distance ) 
Sets from_outside_navmesh_distance and to_outside_navmesh_distance
 | 
| self : | Specifies the object instance that this function will act on. You must always provide this self parameter when you call this function. You must use                                        the dot . calling syntax, not the object-oriented colon : calling syntax.For more information, see Object lifetimes and userdata binding, or                                        this page in the Lua documentation. | |
| from_outside_navmesh_distance : | number | The maximum distance from the start along the X axis and along the Y axis that will be searched for NavMesh, if the start point is outside the NavMesh. The search looks for triangles in an axis-aligned bounding box around the start point, with a half extent on the x and y axes equal to from_outside_navmesh_distance. To disable this feature, you can set this value to 0 | 
| to_outside_navmesh_distance : | number | The maximum distance from the destination along the X axis and along the Y axis that will be searched for NavMesh, if the destination point is outside the NavMesh. The search looks for triangles in an axis-aligned bounding box around the destination point, with a half extent on the x and y axes equal to to_outside_navmesh_distance. To disable this feature, you can set this value to 0 | 
| This function does not return any values. | 
|   | set_propagation_box ( self, extent ) 
Sets the propagation box extent for the GwNavAStar.
 | 
| self : | Specifies the object instance that this function will act on. You must always provide this self parameter when you call this function. You must use                                        the dot . calling syntax, not the object-oriented colon : calling syntax.For more information, see Object lifetimes and userdata binding, or                                        this page in the Lua documentation. | |
| extent : | number | The distance between the propagation oriented 2d box boundaries and the [start, dest] segment. The astar propagation does not go outside the box. | 
| This function does not return any values. | 
|   | set_traverse_logic_data ( self, logic_data ) 
Sets GwNavTraverseLogicData to the GwNavAStar.
 | 
| self : | Specifies the object instance that this function will act on. You must always provide this self parameter when you call this function. You must use                                        the dot . calling syntax, not the object-oriented colon : calling syntax.For more information, see Object lifetimes and userdata binding, or                                        this page in the Lua documentation. | |
| logic_data : | The GwNavTraverseLogicData to use for this astar. | 
| This function does not return any values. |