How do you get an object to move to a position using waypoints.
Develop games in your browser. Powerful, performant & highly capable.
A waypoint is basically a static x,y position. So first you add the waypoint at x,y, then tell the object to move there. There's also the ability to have an object move to a waypoint as soon as its added.
The RTS behavior can do this.