Created by CyanHall.com on 11/13/2020 , Last updated: 04/30/2021.
πŸ‘‰Β Β github shields Star me if it’s helpful.
Dot Product can be used to check how similar two vectors are, ie check if they are looking at the same point.

Dot Product returns the product of the magnitude of two vectors and the `cosine` of the angle between them.

For Normalzied vectors, magnitude = 1, so the result is just the cosin of the angle formed by the vectors.

Dot Product can be used to project the scalar length of one vector onto another.
  • When the two vectors match, the result will be the magnitude of the vectors multiplied together.
  • When the vectors point opposite directions the result will be the product of the magnitudes times -1
  • When they are perpendicular, the result will always be 0.
Vector
A: (0, 0, 1)
=> normalzied:
(0, 0, 1)


X: -1 1

Y: -1 1

Z: -1 1

Vector B: (0, 1, 1) => normalzied: (0, 0.7071, 0.7071)

The Dot Product of normalzied A and B is: (approximate number) :
Ax Γ— Bx + Ay Γ— By + Az Γ— Bz = 0.70711

Maitained byΒ Cyanhall.com, Copy Rights @ CC BY-NC-SA 4.0