rcGetDirOffsetY

Gets the standard height (z-axis) offset for the specified direction.

Windows
MacOS
Linux

References

Module

Navmesh

Header

/Engine/Source/Runtime/Navmesh/Public/Recast/Recast.h

Include

#include "Recast/Recast.h"

Syntax

int rcGetDirOffsetY
(
    int dir
)

Remarks

Gets the standard height (z-axis) offset for the specified direction.

Returns

The height offset to apply to the current cell position to move in the direction.

Parameters

Parameter

Description

dir

The direction. [Limits: 0 <= value < 4]

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