dtVdist2D

Derives the distance between the specified points on the xz-plane.

Windows
MacOS
Linux

References

Module

Navmesh

Header

/Engine/Source/Runtime/Navmesh/Public/Detour/DetourCommon.h

Include

#include "Detour/DetourCommon.h"

Syntax

float dtVdist2D
(
    const float * v1,
    const float * v2
)

Remarks

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.

Returns

The distance between the point on the xz-plane.

Parameters

Parameter

Description

v1

A point. [(x, y, z)]

v2

A point. [(x, y, z)]

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss