Help with the dot product

Hey, so as you read by the title, I need help with the dot product. Now, before you send me 100 links on the dot product, I want to say I know what the dot product is. The question that I have is, when I get the dot product of 2 vector positions, so say we have Vector1, and Vector2



local VectorOne = Vector3.new(4,100, 600)
local VectorTwo = Vector3.new(10, 100, 300)


print(VectorOne:Dot(VectorTwo)) -- Prints 190040

How can this dot product be longer then the actual Vectors? The dot product reflects 1 vector onto another vector and give you the reflection of those 2 vectors.

That’s my question. I hope I wasn’t confusing and I hope I got the definition right.

Thanks for taking the time to read this! Don’t hesitate to tell me if I’m wrong on something. :slightly_smiling_face:

One of the two vectors always has to be a unit vector with a length of 1 for the math to work

Also “project” is more of a proper word to describe it than “reflect”
It projects one vector onto the other vector at a right angle and finds the distance at which it intersects

Oh, no wonder. I always got confused with why it returned that value. Thanks for the help man!

1 Like