Hi All
for the user operate unit(with RichAI & ROVController) , i want it can fast respond.
something like p.BlockUntilCalculated()
//Fake code
ABPath p = RichAI.GetNowPath();
p.BlockUntilCalculated();
you can see in the gif
user fist click time is 1.11s
path change at 1.27s (Gap = 0.16s)
the second one click time is 4.28s
path change at 5.12s (Gap = 0.84s)
the path calucalte sometime veryfast,sometime is not.
i search in forum. some one have the same issue
i already call SearchPath
on each time the unit set new destination. but seemd not working .
also i try block calculate the seeker path immediately. but still not right.
if (mIsFastRespond)
{
mRichAI.SearchPath();
mSeeker.GetCurrentPath().BlockUntilCalculated(); //same seeker attach with richAI
}
need help for that.
Thanks.