Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Fun with Vectors! How to get a Vector that points between two vectors?

Asked by 7 years ago

So ill try to clearly explain, I am trying to get a vector that POINTS mid way between where the other two vectors point. I have the 2 vectors I just need the middle one. Say you hold out 3 fingers. I have the two outside fingers but, I want to some how calculate the figure in the middle. I am using Vector3s to achieve this but I don't understand how mathematically to get that middle finger! Sorry for the weird analogy lol but if u still don't understand what am trying to calculate and your good with vectors, ask in the comments. Thanks C:

0
correct me if am wrong but, the cross product will give me the adjacent vector of the two. Back to my wonderful anology, the fingers i was talking about are flat along a table. Worthy0ne 68 — 7y
0
oo right that one isn't the right one, what about this one http://wiki.roblox.com/index.php?title=Dot_product Vulkarin 581 — 7y

1 answer

Log in to vote
1
Answered by 7 years ago

Normalize your two vectors, add them together, then normalize the result to get the inbetween vector.

0
Thanks! sir Vector Worthy0ne 68 — 7y
Ad

Answer this question