get thedistance between two vectors code example
Example 1: get angle between two vectors unity
Vector3 targetDir = target.position - transform.position;
float angle = Vector3.Angle(targetDir, transform.forward);
Example 2: r find difference between two vectors
# setdiff gives the the difference of the 1st compared to the second.
setdiff(b,a)