mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-17 21:53:47 +00:00
fix node following stopping early
This commit is contained in:
parent
4fb92f02a3
commit
a10169accf
1 changed files with 3 additions and 1 deletions
|
|
@ -170,8 +170,10 @@ void AINavigation::onReachDestination()
|
|||
}
|
||||
else
|
||||
#endif
|
||||
{
|
||||
getCtrl()->throwCallback("onReachDestination");
|
||||
getCtrl()->mMovement.mMoveState = AIController::ModeStop;
|
||||
getCtrl()->mMovement.mMoveState = AIController::ModeStop;
|
||||
}
|
||||
}
|
||||
|
||||
bool AINavigation::setPathDestination(const Point3F& pos)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue