Arm Swing

The Arm Swing ability will move the character based on the player’s arm swing. This ability mimics the motion that a person makes while running. The input vector will be set by this ability and it will then use the locomotion’s acceleration/damping values to do the actual movement.

The Arm Swing ability differs from the Move In Place ability by requiring both the left and right hands to be moving a minimum distance each frame. It also takes into account the total move distance compared to the Move In Place ability which only accounts for the vertical change.

Setup

  1. Select the + button in the ability list under the “Abilities” foldout of the Ultimate Character Locomotion component.
  2. Add the “VR/Arm Swing” ability. The ability is a concurrent ability so it can be located anywhere within the ability list.

Inspected Fields

Left Hand Swing

Specifies if the left hand contributes to the arm swing.

Right Hand Swing

Specifies if the right hand contributes to the arm swing.

Speed Multiplier

A multiplier to apply to the node movement value.

Max Input Value

The maximum value that can be set to the input vector.

Required Min Distance

The distance that each node is required to move in order for the movement to be valid.