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:49
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:71
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:518
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:509
virtual int GetNodeCount() const override
Return the number of nodes.
Definition navigation_recast_path.cpp:481
virtual bool IsQuerying() const override
Return true if the path is currently being calculated.
Definition navigation_recast_path.cpp:532
virtual Vector GetCurrentDirection() const override
Return the directional vector towards the path.
Definition navigation_recast_path.cpp:499
virtual Vector GetCurrentDelta() const override
Return the current move delta.
Definition navigation_recast_path.cpp:490
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:115
virtual void Clear() override
Clear the path.
Definition navigation_recast_path.cpp:392
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:169
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:250
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:397
Definition navigation_recast_path.cpp:46
Definition navigation_path.h:29
Definition navigation_path.h:35