vector.angle

Edit

Returns the angle between two vectors.

angle = vector.angle(a, b, axis)

Arguments

NameTypeDescription
avector The first vector.
bvector The second vector.
axisvector An axis used to determine the sign of the angle.

Returns

NameTypeDescription
anglenumber The angle between the two vectors.

See also