Why creeps go out from target?
-
I don't understand( My creeps move by map in chaos ways.. And often stucks..
I debug it, and I don't understand - creep have task:
this.creep.moveTo(constructionSite);
And creep don't move to it.. But coordinates of target correct (screenshot - there are target, creep say where he go, but he don't go.. He stuck near wall.. Why?
-
Second example: creep move out from target, every tick distance increases. Why??
-
I understand.. Create global object with cache of creeps is bad idea...