How do I…
Trying to make a pathfinding system where if a guard hits a waypoint, they walk in the opposite direction, making a looping patrol
What is the expected result
Guard hits waypoint, turns around and walks, when they hit another waypoint the same happens (they turn around and walk)
What is the actual result
Guard ignores waypoints when they’re walking to the right, but not when they’re walking to the left