vector from two points unity code example Example: vector between two points unity Vector3 newVector = targetPoint - initialPoint;