Home > other > How about the unity of the Nav mesh Agent component and stop an object
How about the unity of the Nav mesh Agent component and stop an object
Time:09-20
Calls the stop method can only be suspended, the path is still there, want to let the object at the time of go completely stopped to another target, if midway SetDestination again, as if a BUG, the object did not move, I now is to use the first ResetPath SetDestination again after, always feel so upset, don't know right
CodePudding user response:
Should invoke the Resume after the Stop, and then SetDestination