Method ComputeDesiredMove
ComputeDesiredMove(Vector2)
Determines how much to slide the rig due to input vector.
Declaration
protected virtual Vector3 ComputeDesiredMove(Vector2 input)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector2 | input | Input vector, such as from a thumbstick. |
Returns
| Type | Description |
|---|---|
| Vector3 | Returns the translation amount in world space to move the rig. |