I'm using libgdx Follow Path Steering Behavior in my top-down game. When unit reaches the end of the path, it goes to the start (not directly, but following path), then to the end and so on. How to stop following path, when unit reached the end point?
When unit reaches to the end point then you can simply reset the position of the unit as previous what it was and then continue like in this manner or you can simply destroy the path after you done with it if possible.
I don't know about your platform but the concepts are same for any platform.So if my answer is helpful then please vote. ;)