FNavLocalGridData::IsLineObstructed

Check if line trace between local coords on grid hits any obstacles, doesn't validate coords!

Choose your operating system:

Windows

macOS

Linux

References

Module

AIModule

Header

/Engine/Source/Runtime/AIModule/Classes/Navigation/NavLocalGridData.h

Include

#include "Navigation/NavLocalGridData.h"

Source

/Engine/Source/Runtime/AIModule/Private/Navigation/NavLocalGridData.cpp

Syntax

bool IsLineObstructed
(
    const FIntVector & StartCoords,
    const FIntVector & EndCoords
) const

Remarks

Check if line trace between local coords on grid hits any obstacles, doesn't validate coords!