Dash

The Dash ability extends the Trajectory Move ability by moving the character to the new location at the specified Move Speed. If a location is not valid then the character will not be moved. The character is moved as soon as the joystick’s horizontal and vertical axis reaches 0.

Setup

  1. Select the + button in the ability list under the “Abilities” foldout of the Ultimate Character Locomotion component.
  2. Add the “VR/Dash” ability. The ability should be positioned near the top of the ability list so it has priority over other abilities.
  3. A default value for the Trajectory Object’s Line Renderer and Surface Indicator will be created. You’ll likely want to customize this for your project.

Inspected Fields

Move Speed

The speed at which the character moves towards the destination.

Arrived Distance

The character has arrived at their destination when the distance between the target position and character position is less than the specified value.

Arrived Rotation Delta

The character has arrived at their destination when the delta angle between the target rotation and character rotation is less than the specified value.

Movement State Name

The name of the state when the character is dashing to the destination location.