Comments and answers for "Simple vector math help."
http://answers.unity.com/questions/34429/simple-vector-math-help.html
The latest comments and answers for the question "Simple vector math help."Answer by Jesse Anders
http://answers.unity.com/answers/34443/view.html
<p>From your description, it sounds like you're looking for the average of two vectors, w$$anonymous$$ch can be computed as:</p>
<pre><code>Vector3 average = Vector3.Lerp(v1, v2, .5);
</code></pre>
<p>If you need the result to be unit-length, you can normalize it (note that t$$anonymous$$s can fail if the average is the zero vector or is nearly the zero vector).</p>Thu, 18 Nov 2010 01:35:16 GMTJesse Anders