1
0
mirror of https://github.com/ncblakely/GiantsTools synced 2024-11-22 14:15:37 +01:00
GiantsTools/Sdk/Include/Navigation/Public/PathUtil.h
2021-01-23 15:40:09 -08:00

17 lines
467 B
C++

#pragma once
#include "AI/Public/Goal.h"
#include "Navigation/Public/NavMesh.h"
#include "Navigation/Public/Path.h"
const int DT_INVALID_POLY = 0;
namespace Nav
{
class PathUtil
{
public:
static std::shared_ptr<Nav::Path> GetPath(ECS::Entity* entity, Nav::NavMesh* navMesh, const P3D& startPos, const P3D& endPos, AI::MoveGoalParams* params = nullptr);
static void SetPath(ECS::Entity* entity, std::shared_ptr<Nav::Path> path);
};
}