Godot Version
4.3
Question
I’m creating an rts and the enemies are currently moved with a “NavigationAgent2D”. The problem is clearly that when about 150 move at once everything explodes.
I’ve currently tried an algorithm where I group the units and update them in turns, which has improved a lot.
But I’ve been reading that there are algorithms to group several units under the same node and that node “moves” among other options that I can’t understand how to implement in Godot.
If anyone has or knows some optimization methods I would be grateful if you could enlighten me.