Functions allowing to traverse NavMesh triangles
Other related reference items
are_triangles_equal ( triangle, triangle2 ) : booleanTells if the triangles are equal
|
triangle : | GwNavTriangle to compare. | |
triangle2 : | GwNavTriangle to compare. |
boolean |
Tells if the triangles are equal |
get_neighboring_triangles ( triangle ) : stingray.GwNavTriangle[]Returns neighbor triangles.
|
triangle : | The GwNavTriangle for which the neighbors are looked for. |
The GwNavTriangle neighbors The [] notation indicates that this type is an array: a table in which the keys of the members are sequential integers, and the value of each element is an instance of the type shown. |
get_seed_triangle ( database_or_world, position ) : stingray.GwNavTriangleReturns a GwNavTriangle.
|
database_or_world : | The GwNavDatabase where the triangle is look for. The any(...) notation indicates that this item may be an instance of any of the types shown in the parentheses. | |
position : | The position the triangle is looked for. |
The GwNavTriangle at the position if any, or nil |
get_triangle_navtag ( triangle ) : boolean, stingray.Quaternion, integer, integer, integer |
triangle : |
boolean |
Indicates whether or not the NavTag is exclusive: i.e. whether or not it can be navigated. |
Indicates the color of the NavTag. | |
integer |
Indicates the ID of the layer associated with the NavTag. |
integer |
Indicates the ID of the smartobject associated with the NavTag. |
integer |
Indicates the userdata associated with the NavTag. |
get_triangle_vertices ( triangle ) : stingray.Vector3[]The vertices of the triangle
|
triangle : | The GwNavTriangle for which the neighbors are looked for. |
The vertices of the triangle The [] notation indicates that this type is an array: a table in which the keys of the members are sequential integers, and the value of each element is an instance of the type shown. |