Transform Move Towards Position
Moves a Transform toward a world position with optional smoothing and speed limiting.
Parameters
| Parameter | Description |
|---|---|
| Transform | The Transform to move. |
| Position | The world position to move toward. |
| Axis | Which axes are allowed to move. |
| Smooth Time | Smoothing time in seconds. 0 disables smoothing. |
| Max Speed | Maximum movement speed in units per second. 0 removes the speed cap. |
| Finish Distance | Finishes when the remaining distance is less than this value. Use -1 to never finish. |
| Finished Event | Optional event sent when the move finishes. |
Notes
- Use this when the destination is a world point instead of another Transform.