Vector3.Dot||doc136379

September 20, 2022

Format

Vector3:Dot(vec1, vec2)

Describe

Calculates the dot product of two vectors. In 3D geometry, vector point multiplication is usually used to describe the projection component of one vector on another vector.

parameter

Variable name Type Describe
vec1 Vector3 Vector 1
vec2 Vector3 Vector 2

Return value

Type Describe
float Dot product value