GET CLOSEST CAR NODE
Jump to navigation
Jump to search
| Number of parameters: 6 | ||
|---|---|---|
| Parameter # | Type | Description |
| 1. | float | X coordinate |
| 2. | float | Y coordinate |
| 3. | float | Z coordinate |
| 4. | pointer to float | X coordinate of closest node |
| 5. | pointer to float | Y coordinate of closest node |
| 6. | pointer to float | Z coordinate of closest node |
| Return value: | ||
| Type | Description | |
| bool | success? | |
Gets the car node closest to the specified position, and stores the position of the node in the variables pointed to by P4, P5 and P6.