Skip to content

Transform Check Is Close To Target

Checks whether a Transform is within a distance threshold of a target.

Parameters

Parameter Description
Transform The Transform to test.
Target The target Transform.
Distance Distance threshold.
Axis Axis used for the distance check.
True Event / False Event Events sent based on the result.

Notes

  • This is a good fit for arrival checks, melee range checks, and trigger-style FSM transitions.
  • Axis filtering makes it easy to ignore vertical difference when needed.