fix node following stopping early

This commit is contained in:
AzaezelX 2025-04-17 09:44:04 -05:00
parent 4fb92f02a3
commit a10169accf

View file

@ -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)