GetGroundZAndNormalFor3dCoord — FiveM Natives
0x8BDC7BFC57A81E76 · MISC · all
Attempts to identify the highest ground Z-coordinate and determine the corresponding surface normal directly beneath a specified 3D coordinate. `` NativeDB Introduced: v323 ``
Parameters
| Name | Type | Description |
|---|---|---|
| x | float | X-coordinate of the point to check. |
| y | float | Y-coordinate of the point to check. |
| z | float | Z-coordinate of the point to check. |
| groundZ | float* | A pointer to a float where the ground Z-coordinate will be stored if found. |
| normal | Vector3* | A pointer to a Vector3 structure where the surface normal at the ground point will be stored. |
Returns
BOOL