Modules/Pathfinding/findNodeAt: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<pageclass class="#AA7592" subcaption="Pathfinding Module"></pageclass> __NOTOC__ {{ModuleFunction|Pathfinding}} This function searches for certain node. ==Syntax== <syntaxhighlight lang="c++"> int, float, float, float findNodeAt(int graphId, float positionX, float positionY, float positionZ) </syntaxhighlight> ===Required arguments=== * '''graphId:''' The id of the graph * '''positionX, positionY, positionZ:''' The postion where to search for a node ===Returns=== Re...") |
(No difference)
|
Latest revision as of 17:50, 3 February 2022
This function is provided by the external module Pathfinding. You must install this module to use this function. | |
This function searches for certain node.
Syntax
int, float, float, float findNodeAt(int graphId, float positionX, float positionY, float positionZ)
Required arguments
- graphId: The id of the graph
- positionX, positionY, positionZ: The postion where to search for a node
Returns
Returns 4 integers representing nodeId and his position if a node was found, false otherwise.