Dot product

One number, from -1 to 1 for unit vectors, that says how much two directions agree.

Think of it as A check on whether two arrows point the same way.

a:Dot(b) for two unit vectors is the cosine of the angle between them: 1 means the same direction, 0 means at right angles, -1 means opposite. It makes a cheap in-front-of check.

Official reference: create.roblox.com

Related terms