Pathfinder
|
This file declares the findPath function. More...
#include <EScript/EScript/Objects/Collections/Array.h>
Go to the source code of this file.
Namespaces | |
Pathfinder | |
Functions | |
boost::optional< std::pair< Vertex, Vertex > > | Pathfinder::findStartGoal (const Geometry::Vec3 &start, const Geometry::Vec3 &goal, const Graph *graph) |
Given 2 points in 3D space, approximate these points by nodes in the graph while adhering to a maximum distance threshold. More... | |
EScript::Array * | Pathfinder::findPath (const MinSG::ListNode &root, const Geometry::Vec3 &start, const Geometry::Vec3 &goal, const short &agent) |
Do the scene analysis and pathfinding. More... | |
This file declares the findPath function.
This function can be called in an EScript script to start the algorithm.