25#include "navigation_path.h"
48 const Vector& preferredDir,
55 virtual void Clear()
override;
66 void ResetPosition(
const Vector& origin);
75 int traversingOffMeshLink;
82 void ClearNavigation();
Definition navigation_path.h:43
Full navigation map with meshes and tiles.
Definition navigation_recast_load.h:47
Definition navigation_recast_path.h:79
virtual void FindPath(const Vector &start, const Vector &end, const PathSearchParameter ¶meters) override
Find and set the path from start to end.
Definition navigation_recast_path.cpp:69
virtual bool HasReachedGoal(const Vector &origin) const override
Return true if the origin is at the end of the goal.
Definition navigation_recast_path.cpp:515
virtual void UpdatePos(const Vector &origin) override
Update path movement.
Definition navigation_recast_path.cpp:299
virtual Vector GetDestination() const override
Return the final destination.
Definition navigation_recast_path.cpp:506
virtual int GetNodeCount() const override
Return the number of nodes.
Definition navigation_recast_path.cpp:478
virtual bool IsQuerying() const override
Return true if the path is currently being calculated.
Definition navigation_recast_path.cpp:529
virtual Vector GetCurrentDirection() const override
Return the directional vector towards the path.
Definition navigation_recast_path.cpp:496
virtual Vector GetCurrentDelta() const override
Return the current move delta.
Definition navigation_recast_path.cpp:487
virtual void FindPathNear(const Vector &start, const Vector &end, float radius, const PathSearchParameter ¶meters) override
Find and set the path from start to end with the specified goal radius.
Definition navigation_recast_path.cpp:113
virtual void Clear() override
Clear the path.
Definition navigation_recast_path.cpp:389
virtual void FindPathAway(const Vector &start, const Vector &avoid, const Vector &preferredDir, float radius, const PathSearchParameter ¶meters) override
Find and set the path away from the specified origin.
Definition navigation_recast_path.cpp:167
virtual bool TestPath(const Vector &start, const Vector &end, const PathSearchParameter ¶meters) override
Returns true if the path exists, false otherwise.
Definition navigation_recast_path.cpp:248
virtual PathNav GetNode(unsigned int index) const override
Return the node at the specified index (0 = first node, and nodecount - 1 = last node).
Definition navigation_recast_path.cpp:394
Definition navigation_recast_path.cpp:44
Definition navigation_path.h:29
Definition navigation_path.h:35