先日気づいた便利な実装のメモ書き。ここはnote。 Vector2同士の掛け算 内積でもなく外積でもなく、各要素同士を掛け算します。 var a = new Vector2(1, 2); var b = new Vector2(3, 4); var c = a * b; cの値は(3, 8)になる。この計算が欲しい状況がちょいちょいあるのでありがたい..
A description of what you're trying to do: I would like to get the real distance in meters between two different game object, and the elevation difference in meter as well. I already know the Vector2d ...