Hello All,

I’m quite newbie in Unity, my question is, is there any specified Unity method which can return a vector what will be calculated from two vectors?

I attach an image what I would like to return exactly.

Thank you

Hello All,

I’m quite newbie in Unity, my question is, is there any specified Unity method which can return a vector what will be calculated from two vectors?

I attach an image what I would like to return exactly.

Thank you

So, you want the vector from blue to red?

If blue is A and red is B, then this returns the vector between A and B:

V = B - A;