Height Change

The Height Change ability allows the character to toggle between height changes. This ability will most commonly be used for crouching but can be used for other stances such as crawling. When the ability activates it will set the Height Animator parameter. A Height value of 0 indicates that the ability is not active. This parameter can persist when other abilities are active so those abilities know that the character is in a height change stance (this will for example allow the jump animation to start from a crouched state rather than standing up).

Setup

  1. Select the + button in the ability list under the “Abilities” foldout of the Ultimate Character Locomotion component.
  2. Add the Height Change ability. We recommend placing this ability near the bottom of the list so it doesn’t override any other more important abilities.

Inspected Fields

Concurrent Ability

Is the ability a concurrent ability? Concurrent abilities can stay activated while other abilities are activated.

Height

Specifies the value to set the Height Animator parameter value to.

Capsule Collider Height Adjustment

The amount to adjust the height of the CapsuleCollider by when active. This is only used if the character does not have an Animator.

Allow Speed Change

Can the SpeedChange ability run while the HeightChange ability is active?