Notifications
Clear all
[Closed] Finding Average vector
May 18, 2016 3:23 pm
How can I find the average vector between two known vectors? I’m going to guess im over thinking this…
this is the math im using for the two known vectors
V1 = normalize (vecA-vecCenter)
V2 = normalize (vecB-vecCenter)
5 Replies
May 18, 2016 3:23 pm
Lerp has certain inaccuracies, depends on what you need the averaged vector for. See this explanation for various techniques:
http://computergraphics.stackexchange.com/questions/2072/interpolating-vectors-on-a-grid
May 18, 2016 3:23 pm
Sorry, I had just woken up when I wrote that. If you only need the midpoint, then lerp is fine, just (a+b)/2 it.
1 Reply