Transform Move Away From Target
Moves a Transform away from a target Transform with optional smoothing and speed limiting.
Parameters
| Parameter | Description |
|---|---|
| Transform | The Transform to move. |
| Target | The target to move away from. |
| Axis | Which axes are allowed to move. |
| Smooth Time | Smoothing time in seconds. |
| Max Speed | Maximum movement speed in units per second. |
| Finish Distance | Finishes when the distance becomes greater than this value. Use -1 to never finish. |
| Finished Event | Optional event sent when the move finishes. |
Notes
- This is useful for flee, avoid, knockback-style, and spacing behaviors.
- If both objects overlap exactly, the action keeps using the last away direction.