Skip to main content

Dot

A Dot Condition calculates the dot product of two Vector Stats and evaluates the result using a comparison condition.

Fields​

FieldDescription
ComparerThe Numerable Comparer used to evaluate the calculated dot product.

Supported Types​

  • Vector2
  • Vector3
  • Vector2Int
  • Vector3Int

Example​

Two facing directions, compared with Dot:

AssetStatsComparerPasses when
Condition_FromBehind (Backstab)Source Direction, Target DirectionGreater Or Equal 0.5both face the same way — the hit comes from behind
Condition_IsFacingMe_3DC (Rusty Pan)Target Direction, Source DirectionLower Or Equal −0.7they face each other

Attacker facing (0, 0, 1), target facing (0, 0, 1): dot 1 → backstab. Target facing (0, 0, −1): dot −1 → Rusty Pan's crit.