Rigidbody Move Towards Position
Moves a Rigidbody toward a world position using MovePosition.
Parameters
| Parameter | Description |
|---|---|
| Rigidbody | The Rigidbody to move. |
| Position | The world position to move toward. |
| Ignore Y | If true, vertical difference is ignored. |
| Max Speed | Maximum movement speed in units per second. |
| 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
- This is useful for kinematic physics movement toward a known world-space destination.