3
$\begingroup$

Tinker is a hero in the popular game Dota 2. He has a spell called 'March of the Machines' that creates a stampede of little robots in a rectangular area. The robots do damage on impact of an enemy unit. Basically this can be considered a vector field and enemy units are surface area. We want the maximum flux in order to optimize damage.

If you're really interested in what this looks like:

https://www.youtube.com/watch?v=AmXRvkaYhIE

Anyways, you often end up in static situation where enemy units aren't moving in this common pattern. It makes sense that a diagonal march will provide the most damage:

enter image description here

A vertical march would have one enemy 'shielding' damage from the one behind it (depending on if it were downwards or upwards). A horizontal march does negligable damage to the bottom due to way less surface area being hit.

What kind of confuses me is once things start moving. The common advice is(artwork not mine):

http://cloud-2.steampowered.com/ugc/596998708777054720/3ED611DEA2B3245C834C28C12DE9D0188A72C1C0/

Things tend to run roughly single file so you can assume the stuff running through the march is a wall of surface area. My intuition always made me think that when things are running through march, going fully perpendicular would maximize damage. The sadder part is I've taken vector calculus before, so I've encountered a great deal of this stuff. But this is certainly the area where my brain had a melt down! I'd love to see a mathy justification for this angled approach being optimal.

$\endgroup$
1
  • 2
    $\begingroup$ I am not sure whether your question can be answered here. This is not really connected to physics but only depends on the algorithm the game designer used to calculate the outcome of the interaction. Most likely there is a cross-product involved but without further information one can only speculate. $\endgroup$
    – Alexander
    Commented Jun 1, 2014 at 0:06

1 Answer 1

1
$\begingroup$

I thought about it for a bit and I guess the answer is pretty not-exciting physics-wise.

The march skill is a fixed length/width 'box' that approximates a vector field. When you see:

enter image description here

The reasoning is going diagonal through a box maximizes the distance traveled within the box.

enter image description here

How anti-climatic.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.