Patrol Zig Zags between waypoints

Logiq121

New member
I'm having an issue where my Object doesn't move straight from one waypoint to another during the patrol action. I am trying to have it go back and forth in a straight line, but it's wandering left and right as it moves toward the waypoint. Does anyone have any insights as to why?

How it's acting:
Waypoints
Unity_aVSYrWTxRG.png

behaviour designer:
1691960039448.png
 

Attachments

  • Unity_T1PKim3g9s.png
    Unity_T1PKim3g9s.png
    130.3 KB · Views: 4
Are you using the Unity navmesh? The Patrol task doesn't actually move the object -it's up to the underlying navigation implementation to do the movement. The Patrol task will set the destination and then wait for the object to arrive. So with that said, it's something related to the navigation implementation that you are using.
 
Top