Transform List Get Furthest
Finds the furthest Transform in a Transform List from a target Transform.
Parameters
| Parameter | Description |
|---|---|
| Transforms | The Transform List to search. |
| Target | The Transform to measure distances from. |
| Axis | The axis used for distance measurement, such as XY, XZ, or XYZ. |
| Store Result | Stores the furthest Transform. |
| Store Index | Stores the zero-based index of the furthest Transform. |
| Store Distance | Stores the distance to the furthest Transform. |
| Found | Stores true if a valid Transform was found. |
Notes
- Null entries in the list are ignored.
- If the list is empty, the target is missing, or no valid entry is found, outputs are reset and
Foundstaysfalse. - At least one output should be assigned, otherwise the action reports an error in the editor.
- This is useful for selecting distant targets, spread-out formations, or fallback points far from the player.
Example
Use this action to pick the furthest patrol point, spawn marker, or enemy in range when you want to favor distant targets instead of nearby ones.