vector position of code example
Example: getting vector length with positions
For two points A and B with positions (x; y) :
vector length = sqrt(((yB - yA)^2) + (xB - xA)^2))
For two points A and B with positions (x; y) :
vector length = sqrt(((yB - yA)^2) + (xB - xA)^2))