I’ve seem some cases that are definitely questionable, but the occurred too late game to make debugging it feasible.
The most important thing to consider is that you don’t need to actually reach the center of the coin. Just be within 5m from the center of the coin. This will lead to situations where you’re actually closer to the center of a coin but may choose a sub optimal direction vector and travel further than necessary to collect it.
Consider two workers. Lets say they move a 1 m/s.
Worker 1 is at (0, 0).
Worker 2 is at (0, 1).
There’s a coin located at (10,2);
Worker 1 travels strictly horizontally to (10,0);
Worker 2 travels to the center of the coin (10,2);
Worker 1 will collect the coin first even though he’s further, because he choose a shorter path.
@nick I think that explains the big variance between my human and ogre rank. I wasn’t sure that it was human first and assumed that it was enemy first. Hence I tended to estimate position of enemy as enemy position + 1.25 meters towards enemy target position. This fared well for ogres obviously because it’s how the calculations are handled, but would perform markedly poorer for my humans because I would abandon coins that I would’ve actually been awarded. Bummer