Skip to main content

Vector Index

A Vector Index checks whether a specific component of a vector satisfies a comparison rule.

Fields​

FieldDescription
Comparing IndexThe vector component to compare.
ComparerThe Numerable Comparer used to evaluate the selected component.

Comparing Index​

  • 0: X
  • 1: Y
  • 2: Z

Supported Types​

  • Vector2
  • Vector3
  • Vector2Int
  • Vector3Int

Example​

Falling: the Y component of a Velocity Stat is below 0. Comparing Index 1, Comparer Lower 0.

VelocityYPasses
(2, −3, 0)−3yes
(2, 1, 0)1no