Stop Movement Animation

The Stop Movement Animation ability prevents the movement animation from playing when the character would run into a solid object. The move direction is predicted if the character is using root motion because with root motion the movement is applied after the animation plays.

Setup

  1. Select the + button in the ability list under the “Abilities” foldout of the Ultimate Character Locomotion component.
  2. Add the Stop Movement Animation ability. This ability should be positioned towards the bottom of the ability list so it can override the input values.

Inspector Fields

Collision Check Distance

The distance that is checked to determine if there is a collision.

Wall Glide Curve Threshold

The maximum Character Locomotion Wall Glide Curve value that the ability should start with. The higher the threshold to more the ability will ignore the Wall Glide Curve value.