Notifications
Clear all

[Closed] Finding Average vector

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

I think you want to use Lerp?

(v1 + V2) / 2

 lo1

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

 lo1

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
(@jokermartini)
Joined: 10 months ago

Posts: 0

That is what i ended up doing.