Scalar Projection
Scalar Projection is the amount one vector "goes along" another: the length of the shadow that vector casts onto vector .
It's calculated using the Dot Product divided by the Vector Magnitude of the vector being projected onto:
where is the angle between the two vectors. The result is a single number (a Scalar), and it's negative when the angle is more than 90°.