mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 16:14:38 +00:00
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:
parent
3210325f3f
commit
a609917cee
3 changed files with 28 additions and 13 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue