Vector3.dot method

dot(self, other: Vector3) -> float:

Calculates the dot product of this vector and other.

The dot product is a number equal to the lengths of two vectors multiplied together and then multiplied by the cosine of the angle between them.

Parameters

Returns

float

dot product.