Ideally you just want the difference between two vectors
if your thinking of a car if you know the front of the cars
Vector and the back of the cars vector by subtracting
back from front should return positive or negative
depending on the direction I believe
FUNCTION GetVector3Subtract( resultVec, SubtractVec )
SetVector3( resultVec , GetVector3X(resultVec)-GetVector3X(SubtractVec) , GetVector3Y(resultVec)-GetVector3Y(SubtractVec) , GetVector3Z(resultVec)-GetVector3Z(SubtractVec) )
ENDFUNCTION
oh scrub what I said lol DOT product that's the one can you tell my math is bad lol
fubar