Psi · Mind

Operator: Vector Dot Product

A . B

Effect Preview

Operator: Vector Dot Product Spell Sheet

Magic ModPsi (Psi 1.21.1-110 (NeoForge))
School / ElementMind
Magic KindGlyph
Glyph RoleOperator
Data SourcePsi-neoforge-1.21.1-110.jar::vazkii/psi/common/spell/operator/vector/PieceOperatorVectorDotProduct.class

How To Use Operator: Vector Dot Product

  1. Put Operator: Vector Dot Product on the Spell Programmer 9x9 grid next to two Vectors whose alignment or angular similarity you want measured.
  2. Wire those vectors into Vector A and Vector B to output the scalar dot product (positive when pointing similarly, 0 when perpendicular, negative when opposite).
  3. Imprint the spell onto a Spell Bullet via Right-Click on the Spell Programmer, load it in a CAD Assembler, and execute with Right-Click.

Adding 1 Complexity, normalizing both vectors before computing the dot product lets you feed the value straight into Operator: Arc Cosine for exact angles.

How To Get Operator: Vector Dot Product

Ready immediately in the Spell Programmer piece list under the Trigonometry group after crafting a Spell Programmer.

More Spells From Psi

All Spells →

9Minecraft Magic Updates — New magic mods, spells & Bedrock add-ons

Explore 9Minecraft Network →