mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 08:04:40 +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
|
else
|
||||||
#endif
|
#endif
|
||||||
|
{
|
||||||
getCtrl()->throwCallback("onReachDestination");
|
getCtrl()->throwCallback("onReachDestination");
|
||||||
getCtrl()->mMovement.mMoveState = AIController::ModeStop;
|
getCtrl()->mMovement.mMoveState = AIController::ModeStop;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool AINavigation::setPathDestination(const Point3F& pos)
|
bool AINavigation::setPathDestination(const Point3F& pos)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue