I can start NavMeshAgentMovement of AI, but I can't stop it.

I can start NavMeshAgentMovement of AI, but I can't stop it. AI will continue to walk, And I don't know what I did wrong? StartStopAbility will return a failure.
 

Attachments

  • test1.png
    test1.png
    37.3 KB · Views: 5
  • test2.png
    test2.png
    15.2 KB · Views: 5
  • test3.png
    test3.png
    37.7 KB · Views: 5
The NavMeshAgentMovement ability will only stop when the character reaches the destination. If you call TryStopAbility with the force option to true then it'll stop, though this isn't exposed to the task. I can add that as an option.
 
The NavMeshAgentMovement ability will only stop when the character reaches the destination. If you call TryStopAbility with the force option to true then it'll stop, though this isn't exposed to the task. I can add that as an option.
Thank you for Justin.
 
Top