Print view · Vec2 Dot · 1 pageChoose "Save as PDF" as the destination in the print dialog.
Back to the docs

Mesh Morpher documentation

Vec2 Dot

1 page · exported 2026-09-06 · https://meshmorpher.com/docs/studio-and-graph/voxel/math/vec2-dot

Studio and Graph › Voxel › Math

Vec2 Dot

Dot product of two 2D vectors. Positive when they point the same way, zero when perpendicular, negative when opposed.

Vec2 Dot node

The Vec2 Dot node

When to use it

Dot product of two 2D vectors. Positive when they point the same way, zero when perpendicular, negative when opposed.

Normalise both inputs first if you want to read the result as a cosine. Unnormalised inputs scale it by their lengths, and the comparison you thought you were making stops meaning what you thought.

Pins

Pin Type Description
AX Number A X component.
AY Number A Y component.
BX Number B X component.
BY Number B Y component.
Pin Type Description
Result Number How much A and B point the same way.