direction vector between two points unity code example Example: vector between two points unity Click to copyVector3 newVector = targetPoint - initialPoint;