1
0
mirror of https://github.com/ncblakely/GiantsTools synced 2024-12-23 07:47:22 +01:00
GiantsTools/Sdk/Include/Navigation/Public/PathUtil.h

17 lines
467 B
C
Raw Normal View History

2021-01-24 00:40:09 +01:00
#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);
};
}