Navigation
API > API/Runtime > API/Runtime/Navmesh
Description
Derives the distance between the specified points on the xz-plane. The vectors are projected onto the xz-plane, so the y-values are ignored.
| Name | dtVdist2D |
| Type | function |
| Header File | /Engine/Source/Runtime/Navmesh/Public/Detour/DetourCommon.h |
| Include Path | #include "Detour/DetourCommon.h" |
dtReal dtVdist2D
(
const dtReal * v1,
const dtReal * v2
)
The distance between the point on the xz-plane.
Parameters
| Name | Remarks |
|---|---|
| v1 | A point. [(x, y, z)] |
| v2 | A point. [(x, y, z)] |