Provides access to the various operations we can perform on the NavMesh (e.g. raycast).
Other related reference items 
Related help topics 
|   | destroy_query_dynamic_output ( query_output ) 
Destroys a GwNavQueryDynamicOutput created by a query. 
 | 
| query_output : | The GwNavQueryDynamicOutput object you want to destroy. | 
| This function does not return any values. | 
Beware that all objects accessed from NavQueryDynamicOutput _could_ be destroyed when destroy_query_dynamic_output is called
Other related reference items 
|   | diskcango ( database_or_world, A, B, radius, logic ) : boolean 
Casts a disk from A to B following the NavMesh surface, if the disk successfully arrives at B returns true, otherwise false.
 | 
| database_or_world : | The GwNavDatabase to run the query 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. | |
| A : | The center position from which we wish to start. | |
| B : | The center position at which the cast ends. | |
| radius : | number | The disk radius. | 
| logic : | The GwNavTraverseLogicData to use for this query. The ? notation indicates that this type is optional: there may be zero or one instances of it. | 
| boolean | true if the disk successfully arrives. | 
|   | diskcast ( database_or_world, A, radius, normalized_move_2d, distance, logic ) : boolean, stingray.Vector3, stingray.Vector3 
Casts a disk from A following normalized_move_2d direction and given distance on the NavMesh surface, if the disk successfully moves the whole distance, it returns true, otherwise false. 
 | 
| database_or_world : | The GwNavDatabase to run the query 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. | |
| A : | The center position from which we wish to start. | |
| radius : | number | The disk radius. | 
| normalized_move_2d : | The direction to cast the disk. | |
| distance : | number | The distance of the cast. | 
| logic : | The GwNavTraverseLogicData to use for this query. The ? notation indicates that this type is optional: there may be zero or one instances of it. | 
| boolean | true if the disk successfully moved of the given distance. | 
| The center position of the disk when the cast ended. | |
| The collision position on the disk if the disk collided. | 
Also returns the last valid center position, and the colliding position if any.
|   | inside_position_from_outside_position ( database_or_world, position, above_dist, below_dist, horizontal_dist, distance_from_obstacle, logic ) : stingray.Vector3? 
Finds a position within the NavMesh from a position outside it.
 | 
| database_or_world : | The GwNavDatabase to run the query 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. | |
| position : | The position outside the NavMesh. | |
| above_dist : | number? | The distance above the position we wish to search in meters. The ? notation indicates that this type is optional: there may be zero or one instances of it. | 
| below_dist : | number? | The distance below the position we wish to search in meters. The ? notation indicates that this type is optional: there may be zero or one instances of it. | 
| horizontal_dist : | number? | The distance horizontally from the position we wish to search in meters. The ? notation indicates that this type is optional: there may be zero or one instances of it. | 
| distance_from_obstacle : | number? | The distance we will move the point from the border of the Navmesh. The ? notation indicates that this type is optional: there may be zero or one instances of it. | 
| logic : | The GwNavTraverseLogicData to use for this query. The ? notation indicates that this type is optional: there may be zero or one instances of it. | 
| nil if no position was found within the NavMesh. Otherwise, the position itself. The ? notation indicates that this type is optional: there may be zero or one instances of it. | 
|   | move_on_navmesh ( database_or_world, position, velocity, delta_time, logic ) : stingray.Vector3 
Outputs a valid position safely placed on the NavMesh. 
 | 
| database_or_world : | The GwNavDatabase to run the query 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. | |
| position : | The position from which we wish to start. | |
| velocity : | The velocity with which we wish to move. | |
| delta_time : | number | The delta time in seconds since the last frame. | 
| logic : | The GwNavTraverseLogicData to use for this query. The ? notation indicates that this type is optional: there may be zero or one instances of it. | 
| The position on the NavMesh. | 
In the event that no position can be found, the input position is returned. Typically useful to move something without physics.
|   | nav_tag_volume ( query_output, index ) : stingray.GwNavTagVolume 
Retrieves the GwNavTagVolume with the specified index. 
 | 
| query_output : | The GwNavQueryDynamicOutput object whose TagVolume you want to retrieve. | |
| index : | integer | The index of the TagVolume you want to retrieve. | 
| The TagVolume with the specified index. | 
Beware that this GwNavTagVolume could be destroyed when NavQueryDynamicOutput.destroy() is called
|   | nav_tag_volume_count ( query_output ) : integer 
Gives the number of TagVolume returned by the query.
 | 
| query_output : | The GwNavQueryDynamicOutput object whose TagVolumes you want to test. | 
| integer | The number of TagVolumes found by the query. | 
|   | raycango ( database_or_world, A, B, logic ) : boolean 
Casts a ray from A to B following the NavMesh surface, if the ray successfully arrives at B returns true, otherwise false.
 | 
| database_or_world : | The GwNavDatabase to run the query 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. | |
| A : | The position from which we wish to start. | |
| B : | The position at which the cast ends. | |
| logic : | The GwNavTraverseLogicData to use for this query. The ? notation indicates that this type is optional: there may be zero or one instances of it. | 
| boolean | true if the ray successfully arrives. | 
|   | raycast ( database_or_world, A, move_2d, logic ) : boolean, stingray.Vector3 
Casts a ray from A following move_2d direction and distance on the NavMesh surface, if the ray successfully moves the whole length of move_2d, it returns true, otherwise false. 
 | 
| database_or_world : | The GwNavDatabase to run the query 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. | |
| A : | The position from which the ray begins. | |
| move_2d : | The 2d relative move to cast. | |
| logic : | The GwNavTraverseLogicData to use for this query. The ? notation indicates that this type is optional: there may be zero or one instances of it. | 
| boolean | true if the ray successfully moved of the given distance. | 
| The position along the ray that was hit (the end point if there was no hit). | 
Also returns the last valid position along the ray
|   | raycast_full_3d ( database_or_world, A, B ) : boolean, stingray.Vector3 
Casts a ray from A to B in 3d (not on the NavMesh surface), if the ray successfully reaches B, it returns true, otherwise false. 
 | 
| database_or_world : | The GwNavDatabase to run the query 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. | |
| A : | The position from which the ray begins. | |
| B : | The position from which the ray ends. | 
| boolean | true if the ray successfully reached b. | 
| The position along the ray that was hit (the end point if there was no hit). | 
Also returns the last valid position along the ray
|   | tag_volumes_from_position ( database_or_world, position, above, below ) : stingray.GwNavQueryDynamicOutput? 
Finds TagVolumes from a position within the NavMesh.
 | 
| database_or_world : | The GwNavDatabase to run the query 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. | |
| position : | The position outside the NavMesh. | |
| above : | number? | The limit above the position we wish to search in meters. The ? notation indicates that this type is optional: there may be zero or one instances of it. | 
| below : | number? | The limit below the position we wish to search in meters. The ? notation indicates that this type is optional: there may be zero or one instances of it. | 
| nil or a newly created GwNavQueryDynamicOutput if there's at least one tagvolume which will have to be destroyed by user with stingray.GwNavQueries.destroy_query_dynamic_output The ? notation indicates that this type is optional: there may be zero or one instances of it. | 
|   | triangle_from_position ( database_or_world, position, above, below ) : number?, stingray.Vector3?, stingray.Vector3?, stingray.Vector3? 
Finds a triangle in the NavMesh at the specified position.
 | 
| database_or_world : | The GwNavDatabase to run the query 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. | |
| position : | The position at which we wish to search. | |
| above : | number | The limit above the position we wish to search in meters. | 
| below : | number | The limit below the position we wish to search in meters. | 
| number? | If a triangle is found, this indicates the altitude of the projection of the input position onto the plane of the triangle. Otherwise, nil. The ? notation indicates that this type is optional: there may be zero or one instances of it. | 
| If a triangle is found, this indicates the first vertex of the triangle. Otherwise, nil. The ? notation indicates that this type is optional: there may be zero or one instances of it. | |
| If a triangle is found, this indicates the second vertex of the triangle. Otherwise, nil. The ? notation indicates that this type is optional: there may be zero or one instances of it. | |
| If a triangle is found, this indicates the third vertex of the triangle. Otherwise, nil. The ? notation indicates that this type is optional: there may be zero or one instances of it. |