Character rotates 180 degrees through back during jogging animation transitions (UE5)

Hi everyone!

I’m having an issue with my first-person game in Unreal Engine 5. When switching jogging directions (e.g., Jog Left → Jog Right), my character flips 180 degrees “through the back”, instead of smoothly transitioning “through the front.”

Here’s my setup:

  • State Machine**: I have only 3 states — Idle, Walk, Jog.
  • Blend Poses by Enum: I manage the animations (Jog Left, Jog Right, etc.) through an Enum variable.
  • Camera Setup: The camera is locked to the character, and I’m using Use Controller Rotation Yaw.
  • Root Motion: Not enabled.
  • Blend Space: Not used (I use State Machine + Enum instead).
    Tried Fixes:
  • I increased Blend Times (0.3-0.5 sec).
  • Disabled Orient Rotation to Movement.
  • Tried using intermediate animations (Jog Forward), but the issue persists.

It seems like Unreal Engine is trying to interpolate between opposite directions (left to right) by taking the “shortest path,” which causes the character to turn 180 degrees through its back.

Question:

How can I make the character smoothly switch directions without flipping through its back?
I’d appreciate any suggestions or examples!

Thanks! :blush:

In the Blend space, try using the “Weight speed” under “Sample Smoothing”, set it to something like 5.0 and check “Smoothing” if its not, and set the smoothing time under horizontal and vertical axis to 0.