Modify path visualization
This commit is contained in:
1 parent
542fc191fa
commit
53328484b8
14 files changed
+175
-41
No files matched your search
@@ -132,6 +132,8 @@ public:
|
||||
Vec3fp requestedWalkTarget;
|
||||
std::vector<Vec3fp> pathWaypoints;
|
||||
size_t currentWaypointIndex = 0;
|
||||
PathFinder::PathOutcome navigationOutcome =
|
||||
PathFinder::PathOutcome::ReachedExactGoal;
|
||||
|
||||
// Internal drift-check timer (serializable so it survives save/load).
|
||||
fp homeDriftCheckTimer = static_cast<fp>(5.0f);
|
||||
@@ -154,6 +156,7 @@ public:
|
||||
std::vector<int> cooldownTicks = {});
|
||||
bool isMoving() const;
|
||||
const Vec3fp& getRequestedWalkTarget() const { return requestedWalkTarget; }
|
||||
PathFinder::PathOutcome getNavigationOutcome() const { return navigationOutcome; }
|
||||
Vec3fp getCurrentNavigationTarget() const;
|
||||
void stopInPlace();
|
||||
void setTarget(const Vec3fp& target,
|
||||
|
||||
Reference in new issue
Block a user