Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

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

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:

3 comments

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.

0

oo right that one isn't the right one, what about this one http://wiki.roblox.com/index.php?title=Dot_product

1 answer

✓ Accepted answer

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

1 comment

0

Thanks! sir Vector

This discussion is preserved as it was. New answers, comments, and votes are closed.