rcFilterLowHangingWalkableObstacles

Marks non-walkable spans as walkable if their maximum is within `walkableClimp_ of a walkable neighbor.

Windows
MacOS
Linux

Warnings

  • Will override the effect of rcFilterLedgeSpans. So if both filters are used, call rcFilterLedgeSpans after calling this filter.

References

Module

Navmesh

Header

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

Include

#include "Recast/Recast.h"

Source

/Engine/Source/Runtime/Navmesh/Private/Recast/RecastFilter.cpp

Syntax

void rcFilterLowHangingWalkableObstacles
(
    rcContext * ctx,
    const int walkableClimb,
    rcHeightfield & solid
)

Remarks

Marks non-walkable spans as walkable if their maximum is within `walkableClimp_ of a walkable neighbor.

Allows the formation of walkable regions that will flow over low lying objects such as curbs, and up structures such as stairways.

Two neighboring spans are walkable if: `rcAbs(currentSpan.smax - neighborSpan.smax) < waklableClimb_

Will override the effect of rcFilterLedgeSpans. So if both filters are used, call rcFilterLedgeSpans after calling this filter.

Parameters

Parameter

Description

ctx

The build context to use during the operation.

walkableClimb

Maximum ledge height that is considered to still be traversable. [Limit: >=0] [Units: vx]

solid

A fully built heightfield. (All spans have been added.)

See Also

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