Agent doesn't stop patrolling

thretch

Member
Shouldn't the agent stop following the waypoints immediately after it switches to an Idle state? At the moment the agent goes to the most recently targeted waypoint, THEN idles.
 

Attachments

  • Screen Shot 2019-09-16 at 9.53.34 AM.png
    Screen Shot 2019-09-16 at 9.53.34 AM.png
    104.7 KB · Views: 14
Do you have Stop On Task End enabled? If so then NavMeshMovement.Stop will be called and patrol should stop moving when the task ends.
 
BTW, in case it's not clear in the screenshot, there's a bug in the label for "Patrol". Don't know if it's a Mac thing, a Unity thing or a BT thing...
 

Attachments

  • Screen Shot 2019-09-17 at 8.00.33 AM.png
    Screen Shot 2019-09-17 at 8.00.33 AM.png
    8.4 KB · Views: 1
Top