AIPathNode.FindJunctionOrEndIndex Method
[This is preliminary documentation and subject to change.]
Find the junctionNode or endNode closest to the given location
Parameters
-
location
- Location for which we want to find the node
-
trackDB
- track database containing the trackNodes
-
wantJunctionNode
- true if a junctionNode is wanted, false for a endNode
Return Value
tracknode index of the closes node
See Also
AIPathNode Class | ORTS Namespace