int GET_NTH_CLOSEST_VEHICLE_NODE_ID_WITH_HEADING(float x, float y, float z, int nthClosest, Vector3* outPosition, float* outHeading, int nodeFlags, float zMeasureMult, float zTolerance);
| Property |
Value |
| Native Name |
GET_NTH_CLOSEST_VEHICLE_NODE_ID_WITH_HEADING |
| Hash |
0x6448050E9C2A7207 |
| Return Type |
int |
| Parameters |
x (float), y (float), z (float), nthClosest (int), outPosition (Vector3*), outHeading (float*), nodeFlags (int), zMeasureMult (float), zTolerance (float) |
Parameters
x (float) — X coordinate
y (float) — Y coordinate
z (float) — Z coordinate
nthClosest (int) — The index of the node to return
outPosition (Vector3*) — Pointer to the found nodes coords
outHeading (float*) — Pointer to the found nodes heading
nodeFlags (int) — Node flags, see GET_CLOSEST_VEHICLE_NODE
zMeasureMult (float) — How strongly the difference in the Z direction should be weighted
zTolerance (float) — How far apart the Z coords have to be before zMeasureMult kicks in
Back to PATHFIND