put the flocking protocol ion the repath command itself with a high weight so it prioritizes avoidance vs straight following

This commit is contained in:
AzaezelX 2025-04-19 06:37:28 -05:00
parent 3210325f3f
commit a609917cee
3 changed files with 28 additions and 13 deletions

View file

@ -70,6 +70,7 @@ struct AINavigation
Point3F mMoveDestination;
void setMoveDestination(const Point3F& location, bool slowdown);
Point3F getMoveDestination() { return mMoveDestination; };
void onReachDestination();
/// NavMesh we pathfind on.