In Air Melee Use

The In Air Melee Use ability is a subclass of the Use ability and will allow the character to perform a melee attack while the character is in the air. The ability requires the character to have a melee weapon with a Melee Weapon component that plays an attack animation while the character is in the air.

Setup

  1. Select the + button in the item ability list under the “Item Abilities” foldout of the Ultimate Character Locomotion component.
  2. Add the In Air Melee Use ability.
  3. Add a new Melee Weapon component with a unique Action ID that should transition to the correct melee attack animation when the ability is active. As an example the Sword item has a Melee Weapon component with an Action ID of 2, and under the Use Animator Audio states it has an Item Substate Index of 10.
  4. Assign the Action ID specified within step 3 to the Action ID field of the In Air Melee Use ability.

Inspected Fields

Upward Force

The amount of force that should be applied at the start of the ability.

Upward Force Frames

The number of frames that the upward force is applied in.

Downward Force

The amount of force that should be applied when the character starts to fall.

Downward Force Frames

The number of frames that the downward force is applied in.

On Grounded Substate Index

The value of the ItemSubstateIndex parameter when the character has becomes grounded after performing the use.

Ground Impact

The impact effect that should be played when the character is grounded.

Ground Position Camera Recoil

The amount of positional force to add to the camera when the character is grounded.

Ground Rotation Camera Recoil

The amount of rotational recoil to add to the camera when the character is grounded.