I came up with a solution for overlapping in pathfinding where the generated nodes are stored in an array, and the object moves using force by following those nodes one by one. After each step, the node is removed from the array. You can also optionally use Physics2D or the Separation in the event sheet to prevent unit stacking.
