dtVperp2D

Derives the xz-plane 2D perp product of the two vectors.

Windows
MacOS
Linux

References

Module

Navmesh

Header

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

Include

#include "Detour/DetourCommon.h"

Syntax

float dtVperp2D
(
    const float * u,
    const float * v
)

Remarks

Derives the xz-plane 2D perp product of the two vectors. (uz*vx - ux*vz) The vectors are projected onto the xz-plane, so the y-values are ignored.

Returns

The dot product on the xz-plane.

Parameters

Parameter

Description

u

The LHV vector [(x, y, z)]

v

The RHV vector [(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