Overview
Common
from, set, add, lerp, normalize…Length and distance
length, distTo, dot, cross, 2D variants.Angles
toAngles, angleTo.Common
Every argument takes anyVec3Like, not just a Vector.
Only
set() and normalize() change the value. Nothing changes its arguments.
Length and distance
The2D variants ignore z, which is what you want for horizontal distance on a map.
Angles
Engine convention, in degrees: pitch positive looks down. See QAngle.toAngles
0.
angleTo
target. Same as target.sub(this).toAngles().