feat: WaypointReached notification for MovementAI and don't move the AI when its not built (#1844)

This commit is contained in:
David Markowitz
2025-07-12 22:21:45 -07:00
committed by GitHub
parent 5ec4142ca1
commit 49aa632d42
3 changed files with 26 additions and 4 deletions

View File

@@ -209,6 +209,8 @@ public:
*/
static float GetBaseSpeed(LOT lot);
bool IsPaused() const { return m_Paused; }
private:
/**
@@ -323,6 +325,9 @@ private:
NiPoint3 m_SavedVelocity;
bool m_IsBounced{};
// The number of waypoints that were on the path in the call to SetPath
uint32_t m_CurrentPathWaypointCount{ 0 };
};
#endif // MOVEMENTAICOMPONENT_H