Skip to main content
5 of 9
added 2 characters in body
Jon
  • 3.7k
  • 1
  • 14
  • 23

Two dot products, using the vector between their centers, tells you which corner is closest.

A positive "Forward" dot indicates a front corner; negative is rear.
A positive "Right" dot indicates a right corner; negative is left.

If the distance between the selected corner and the friendly is less than Range, it is in-range.

enter image description here

Jon
  • 3.7k
  • 1
  • 14
  • 23