Collider:moveKinematic
EditMoves the collider towards a destination pose. The velocity of the collider is set so that the collider reaches the destination in dt seconds.
Arguments
| Name | Type | Description |
| x | number | The x position of the target, in meters. |
| y | number | The y position of the target, in meters. |
| z | number | The z position of the target, in meters. |
| angle | number | The angle of the target orientation. |
| ax | number | The x component of the target axis of rotation. |
| ay | number | The y component of the target axis of rotation. |
| az | number | The z component of the target axis of rotation. |
| dt | number | How long it should take to reach the destination. |
Returns
Nothing
Arguments
| Name | Type | Description |
| position | vector | The position of the target, in meters. |
| orientation | quaternion | The target orientation. |
| dt | number | How long it should take to reach the destination. |
Returns
Nothing
Notes
The collider doesn't stop when it reaches the destination, this is just a shorthand for setting its velocity.