RootMotion MotionGraphState
Overview
The RootMotion state is used when the character has a first person body and will move the character based on the root motion of its animations. Instead of using the character input directly for movement, it sends them as parameters to the body Animator to control / blend what animations are playing. To use this, the character must have a body with an animator. It must have animations that use root motion. lastly, it must have a FirstPersonBodyRootMotion component attached to the character body which catches root motion and sends it to the character's MotionController.
Inspector

Properties
Animator Parameters are the parameters on the character animator to set with the movement values.
| Name | Type | Description |
|---|---|---|
| Forward Param Name | String | The animator parameter name the forward input value should be written to. |
| Strafe Param Name | String | The animator parameter name the strafe input value should be written to. (positive = right). |
Input Multipliers are multipliers that are applied to the player input before sending to the animator.
| Name | Type | Description |
|---|---|---|
| Forward Multiplier | Float | A multiplier applied to the forward input before being sent to the animator parameter. |
| Backward Multiplier | Float | A multiplier applied to the backwards input before being sent to the animator parameter. |
| Strafe Multiplier | Float | A multiplier applied to the strafe input before being sent to the animator parameter. |
Root Motion Multipliers are multipliers that are applied to the resulting movement that the blended animations output.
| Name | Type | Description |
|---|---|---|
| Position Multiplier | Float | A multiplier applied to the root motion position changes. |
| Root Velocity Multiplier | Float Parameter | An optional parameter that will multiply the root motion movement velocity. This will be applied alongside the value above. |
| Rotation Multiplier | Float | A multiplier applied to the root motion rotation changes. |
| Root Rotation Multiplier | Float Parameter | An optional parameter that will multiply the root motion rotation rate. This will be applied alongside the value above. |
Misc properties are the other properties that affect the resulting movement.
| Name | Type | Description |
|---|---|---|
| Blend In | Float | The amount of time it should take to blend into the root motion movement. Blend out is always instant to prevent root motion blocking movements. |
| Input Damping | Float | Damping smooths out the input values. |
| Motion Damping | Float | Damping smooths out the root motion values that the animator returns. |
| Apply Gravity | Boolean | Should gravity be applied while in the state. |
| Apply Grounding Force | Boolean | Should ground snapping be applied while in the state. |
| Ignore Platform Move | Boolean | Should the character be affected by moving platforms while in the state. |