this won't work!
Code:
vec_lenth(...) - vec_length(...)


you can't calculate the difference between two vectors to the orginin in order to calculate the distance from those two vectors
it's like calculating the difference from city a to city b when comparing the difference from city a to city c and city b to city c

just use vec_dist to calculate the distance between to vectors


Visit my site: www.masterq32.de