dtPathCorridor::reset

Resets the path corridor to the specified position.

Windows
MacOS
Linux

References

Module

Navmesh

Header

/Engine/Source/Runtime/Navmesh/Public/DetourCrowd/DetourPathCorridor.h

Include

#include "DetourCrowd/DetourPathCorridor.h"

Source

/Engine/Source/Runtime/Navmesh/Private/DetourCrowd/DetourPathCorridor.cpp

Syntax

void reset
(
    dtPolyRef ref,
    const float * pos
)

Remarks

Resets the path corridor to the specified position.

Essentially, the corridor is set of one polygon in size with the target equal to the position.

Parameters

Parameter

Description

ref

The polygon reference containing the position.

pos

The new position in the corridor. [(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