Quick Turn plays an authored turn when a grounded character strongly reverses movement, such as forward directly to backward. Use it with a travel-facing style such as Adventure. Strafing or target-facing characters usually use their normal locomotion instead.

Configure the ability

The character needs Ultimate Character Locomotion, Animator Monitor, and turn clips with suitable root-motion rotation.

  1. In Ultimate Character Locomotion > Abilities, select + and add Quick Turn.
  2. Keep it near the bottom so gameplay abilities have higher priority. Use the local order Speed Change, Quick Start, Quick Stop, Quick Turn, then Idle.
  3. Configure the supplied Animator’s index and foot variants below, and preserve the completion event in every reachable replacement clip. No input name is needed.
Inspector field Default Purpose
Start Type / Stop Type Automatic / Automatic Detects a grounded reversal and releases at completion or loss of movement.
Ability Index Parameter 8 Selects the supplied turn flow.
Max Input Count 10 Number of recent grounded raw-input samples to average. Keep positive.
Min Input Sqr Magnitude 0.1 Minimum squared current raw-input magnitude for a turn request.
Speed Change Threshold 1 Separates walk/run using the averaged input axes.

Quick Turn uses Automatic start and stop, index 8, Max Input Count 10, Min Input Sqr Magnitude 0.1, and Speed Change Threshold 1.

Match the turn clips

The Animator combines Ability Float Data with Leg Index:

Ability Float Data Leg Index Supplied state
0 0 Quick Turn Walk Right
0 1 Quick Turn Walk Left
1 0 Quick Turn Run Right
1 1 Quick Turn Run Left

Left/right identify foot-compatible clip variants. Use Ability Change, Ability Index 8, Ability Float Data, and Leg Index in the transition conditions.

Keep clips non-looping and preserve their root-motion rotation on import. Add an Animation Event near the intended completion frame with Function > ExecuteEvent and String OnAnimatorQuickTurnComplete. The event ends a turn while movement continues. Quick Turn forces root-motion rotation during activation and releases that override on every stop path.

Tune the reversal

A turn requires recent grounded raw-input history and all of these input conditions:

  • Current squared raw-input magnitude reaches Min Input Sqr Magnitude.
  • At least one nonzero axis reverses sign compared with the averaged history.
  • The dot product of current and averaged input is -0.5 or lower.

The dot-product limit is fixed and uses the actual input vectors, so test analog magnitude and speed multipliers as well as direction. Lowering Min Input Sqr Magnitude changes the first gate; the other conditions still apply. Perpendicular input has a zero dot product and stays in normal locomotion.

Max Input Count controls how stable the previous direction is. A larger history smooths late corrections; a smaller history emphasizes recent input and can be more sensitive to noise.

Quick Turn selects Ability Float Data 1 when the absolute value of either averaged axis strictly exceeds Speed Change Threshold; otherwise it selects 0. With threshold 1, keep Speed Change above it so multiplied raw input can select the run variant. Tune against the configured input range rather than world-space velocity.

Coordinate with stopping

Quick Stop‘s default confirmation count 2 leaves time for opposite input to arrive before a stop clip is selected. Keep Quick Stop directly above Quick Turn when using that workflow.

Quick Turn ends after OnAnimatorQuickTurnComplete, when locomotion reports the character is no longer moving, or when a higher-priority ability force-stops it. The shared stored-input history is reset when it stops; leaving the ground or an immediate transform change also clears inherited history.

Verify the rotation and handoff

  1. Walk forward for several grounded frames, then press directly backward. Confirm (Active), Ability Index 8, and Ability Float Data 0.
  2. Repeat with Speed Change active and confirm float data 1 selects a run turn. Test both Leg Index values against the table.
  3. Change from forward to strafe input: a perpendicular change should remain in ordinary locomotion. Repeat direct reversals at the analog magnitudes the game supports.
  4. Complete the clip and confirm its event stops the ability and releases root-motion rotation. Separately test releasing movement and starting a higher-priority action during the turn.

If activation fails, inspect grounding, stored history, raw-input magnitude/signs, and the fixed dot-product gate. If a clip plays without turning, check its imported root rotation. For the wrong walk/run or foot clip, check Speed Change order, threshold, and Animator conditions. A persistent moving turn needs its completion event; an immediate end needs continued movement and correctly placed event timing.

Related: Quick Start, Idle, Abilities, Animator Parameters, and Animation Event Trigger.