# Walking straight backwards with "s" causing animation to stutter

**URL:** <https://forums.unrealengine.com/t/walking-straight-backwards-with-s-causing-animation-to-stutter/303288>\
**Category:** Character & Animation\
**Tags:** blendspaces, direction, walking, unreal-engine, stuttering, question\
**Created:** [January 7, 2015, 4:52pm UTC](https://forums.unrealengine.com/t/walking-straight-backwards-with-s-causing-animation-to-stutter/303288 "2015-01-07T16:52:35Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_fe44a3cf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fe44a3cf](https://forums.unrealengine.com/u/anonymous_user_fe44a3cf)\
**Post date:** [January 7, 2015, 4:52pm UTC](https://forums.unrealengine.com/t/walking-straight-backwards-with-s-causing-animation-to-stutter/303288/1 "2015-01-07T16:52:35Z")

</div>

For some reason when I walk backwards with “S”, my character’s animation stutters left and right. Also, if while I am walking backwards, I move my mouse left or right, the animation orients itself to where I am rotating too. I want the animation to stay straight if possible. Any ideas as to why this is happening? =/

When I print string to my direction, it keeps flipping between -179, 179 and 180 (my backwards direction in my blendspace is set to 180). Somethings is keeps trying to reset my direction, which is what causing the issue (I assume), but I am stuck! I am really new too UE4 so any help/advice would be greatly appreciative!

---

<div class="post-metadata">

**Author:** ![Vaelek](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vaelek](https://forums.unrealengine.com/u/Vaelek)\
**Post date:** [April 14, 2015, 8:12pm UTC](https://forums.unrealengine.com/t/walking-straight-backwards-with-s-causing-animation-to-stutter/303288/2 "2015-04-14T20:12:40Z")

</div>

Was a solution ever found here? I have a similar issue to this. While walking backwards my character seems to turn slightly one direction or the other. Starting the game with the forward direction at x=1, y=0, z=0, walking forward nothing changes. Walking straight backwards and X bounces around 0.95-0.97, Y from 0.25-0.27. I stop walking, it instantly goes back to 1,0,0.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_fe44a3cf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fe44a3cf](https://forums.unrealengine.com/u/anonymous_user_fe44a3cf)\
**Post date:** [April 30, 2015, 2:03pm UTC](https://forums.unrealengine.com/t/walking-straight-backwards-with-s-causing-animation-to-stutter/303288/3 "2015-04-30T14:03:45Z")

</div>

Hello Vaelek,

To be honest I never solved this problem (a designer on my team handled this bug). I had a chat with him, and the problem could be a bunch of different things. Part of the reason for me was an animation issue. Walking diagonally back and to the left/right was causing the character flip. Another possible problem was an issue with my blendspaces and my animation playing with root motion. Another possibly reason is how you are handling your character’s rotation with the capsule/animation rotations.

Not sure if this will work for you, but I would try making sure that you are playing your animation with root moton (depending on how you set things up, in your animation graph / anim preview editor (usually in the bottom right) / edit defaults (at the top of that window) / root motion / root motion from everything)

Like I said, this can happen for many different reasons, and I am no expert of Ue4. I hope I was at least a bit helpful! Maybe someone more talented than me can come along and help us out!

---

<div class="post-metadata">

**Author:** ![jmalaska](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jmalaska](https://forums.unrealengine.com/u/jmalaska)\
**Post date:** [May 20, 2015, 11:30pm UTC](https://forums.unrealengine.com/t/walking-straight-backwards-with-s-causing-animation-to-stutter/303288/4 "2015-05-20T23:30:34Z")

</div>

Can you post an image of your blend space?

What might be happening is that when the character is moving forward, then suddenly backward, it’s blending through either the right or left directions to get backward. Think of it like a compass.

There’s a way to prevent this compass-like behavior and go right to the targeted direction, in this case backward. In your Blendspace options under Sample Interpolation, mess around with the Target Weight Interpolation Speed value.

 ![43505-unreal+target+weight+interpolation.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/e/9/5e9ac4527a1db1a6e5e0c822394ecfbb35a3b3d2.png)

---

<div class="post-metadata">

**Author:** ![Haflurgaflur](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Haflurgaflur](https://forums.unrealengine.com/u/Haflurgaflur)\
**Post date:** [June 14, 2015, 6:44pm UTC](https://forums.unrealengine.com/t/walking-straight-backwards-with-s-causing-animation-to-stutter/303288/5 "2015-06-14T18:44:17Z")

</div>

I solved this problem by unchecking “Orient Rotation to Movement” under CharacterMovement (Inherited).

Mine was checked because the tutorial I watched told me to check it.

---

<div class="post-metadata">

**Author:** ![Vaelek](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vaelek](https://forums.unrealengine.com/u/Vaelek)\
**Post date:** [June 15, 2015, 2:48am UTC](https://forums.unrealengine.com/t/walking-straight-backwards-with-s-causing-animation-to-stutter/303288/6 "2015-06-15T02:48:52Z")

</div>

Wow… I went to attempt that and it was already unchecked… I checked it, no change… I unchecked it, and the issue vanished -\_-

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_41d7dd21](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_41d7dd21](https://forums.unrealengine.com/u/anonymous_user_41d7dd21)\
**Post date:** [September 12, 2015, 9:11am UTC](https://forums.unrealengine.com/t/walking-straight-backwards-with-s-causing-animation-to-stutter/303288/7 "2015-09-12T09:11:22Z")

</div>

Just for detail - The CharacterMovement is found in the character blueprint on the left side under components in the default layout. Click on it and on the details on the right panel you can find the Orient Rotation Movement checkbox. This is with version 4.9.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_40d5608f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_40d5608f](https://forums.unrealengine.com/u/anonymous_user_40d5608f)\
**Post date:** [January 17, 2016, 1:05am UTC](https://forums.unrealengine.com/t/walking-straight-backwards-with-s-causing-animation-to-stutter/303288/8 "2016-01-17T01:05:43Z")

</div>

This worked for me too.

Thanks overcookedfunion.

---

<div class="post-metadata">

**Author:** ![Xanadron](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xanadron](https://forums.unrealengine.com/u/Xanadron)\
**Post date:** [August 8, 2016, 4:51pm UTC](https://forums.unrealengine.com/t/walking-straight-backwards-with-s-causing-animation-to-stutter/303288/9 "2016-08-08T16:51:33Z")

</div>

It really works! Thank you so much!

---

<div class="post-metadata">

**Author:** ![acidrain77](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@acidrain77](https://forums.unrealengine.com/u/acidrain77)\
**Post date:** [January 1, 2017, 11:33am UTC](https://forums.unrealengine.com/t/walking-straight-backwards-with-s-causing-animation-to-stutter/303288/10 "2017-01-01T11:33:47Z")

</div>

I know this is an old thread, but I had the same problem and I believe I found out what caused it. I believe the ThirdPerson controller and the ThirdPerson “orient to movement” are fighting (something that usually causes a stutter in blendspaces), and so when you don’t want orient to movement, you need to set the bool “orient movement to rotation” in your event graph. Here’s how I did it, and it worked:

 ![120420-orient.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/a/a/aaa409ffb6782efb52f9c29f7c7a5c879bd02dd4.png)

---

<div class="post-metadata">

**Author:** ![deathclonic](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@deathclonic](https://forums.unrealengine.com/u/deathclonic)\
**Post date:** [March 18, 2017, 7:32am UTC](https://forums.unrealengine.com/t/walking-straight-backwards-with-s-causing-animation-to-stutter/303288/11 "2017-03-18T07:32:11Z")

</div>

I fixed it by unchecking these

![130671-ue4editor_2017-03-18_02-27-40.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/f/e/0feb58a3426a94c3a17378c7741492fd44a62d21.png)

---

<div class="post-metadata">

**Author:** ![iamisandisnt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@iamisandisnt](https://forums.unrealengine.com/u/iamisandisnt)\
**Post date:** [March 8, 2018, 2:12pm UTC](https://forums.unrealengine.com/t/walking-straight-backwards-with-s-causing-animation-to-stutter/303288/12 "2018-03-08T14:12:16Z")

</div>

If anyone is curious, I found a solution to this annnnoooooying backwards walk jitter. As the OP suggested, it was because of a constantly flipping positive/negative 179/180 value. I played around with all the settings and variables suggested above, but I finally found a solution by changing the built-in math from the ThirdPerson Animation Blueprint as such.

Basically, the Direction _already_ flips between -179.9 and 179.9 when walking backwards without the default code that Epic had in here. The default code here actually just does exactly what the TPBP does without the code. (If \>180, subtract 360)

Once I changed these numbers, now it flips _from_ -179.9 _to_ 179.9 and won’t flip back and forth from negative to positive while walking straight backwards.

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/0/2/902f2a5d216e186ff623d089b176e73d8994fe3d.jpeg)

---

<div class="post-metadata">

**Author:** ![imfm](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@imfm](https://forums.unrealengine.com/u/imfm)\
**Post date:** [May 9, 2018, 7:17pm UTC](https://forums.unrealengine.com/t/walking-straight-backwards-with-s-causing-animation-to-stutter/303288/13 "2018-05-09T19:17:57Z")

</div>

!!! I’ve been messing with this for HOURS! THANK YOU!

---

<div class="post-metadata">

**Author:** ![mlindborg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mlindborg](https://forums.unrealengine.com/u/mlindborg)\
**Post date:** [August 2, 2018, 10:44pm UTC](https://forums.unrealengine.com/t/walking-straight-backwards-with-s-causing-animation-to-stutter/303288/14 "2018-08-02T22:44:31Z")

</div>

I had this problem and found it was due to interpolation on the Direction axis. I guess it’s trying to interpolate from -179 all the way to 179 and it causes a stutter. Try removing that and it should work better.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6e17b4e6](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6e17b4e6](https://forums.unrealengine.com/u/anonymous_user_6e17b4e6)\
**Post date:** [January 8, 2019, 3:39am UTC](https://forums.unrealengine.com/t/walking-straight-backwards-with-s-causing-animation-to-stutter/303288/15 "2019-01-08T03:39:03Z")

</div>

This worked for me. Tks

---

<div class="post-metadata">

**Author:** ![ShyshyXD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ShyshyXD](https://forums.unrealengine.com/u/ShyshyXD)\
**Post date:** [January 22, 2019, 3:49am UTC](https://forums.unrealengine.com/t/walking-straight-backwards-with-s-causing-animation-to-stutter/303288/16 "2019-01-22T03:49:21Z")

</div>

Hi,this is just what i need. But my bp is different from this one and i don’t know what the node is before _\<=_. When the direction is less than -179, i make it +360 and that is all i do. The problem is, when I press _S_ and make the character walk backwards, **there will be a obvious shake on him at first** and everything is normal after a while. I guess it is the problem of data import.

---

<div class="post-metadata">

**Author:** ![ShyshyXD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ShyshyXD](https://forums.unrealengine.com/u/ShyshyXD)\
**Post date:** [January 22, 2019, 3:52am UTC](https://forums.unrealengine.com/t/walking-straight-backwards-with-s-causing-animation-to-stutter/303288/17 "2019-01-22T03:52:45Z")

</div>

Removing? How?I tried what _ **iamisandisnt** _ do but still some problem.

---

<div class="post-metadata">

**Author:** ![Jonytitan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jonytitan](https://forums.unrealengine.com/u/Jonytitan)\
**Post date:** [January 30, 2019, 5:51am UTC](https://forums.unrealengine.com/t/walking-straight-backwards-with-s-causing-animation-to-stutter/303288/18 "2019-01-30T05:51:06Z")

</div>

thans you 🙂 , thats help me :3

---

<div class="post-metadata">

**Author:** ![Zodiac20](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Zodiac20](https://forums.unrealengine.com/u/Zodiac20)\
**Post date:** [February 5, 2019, 10:38am UTC](https://forums.unrealengine.com/t/walking-straight-backwards-with-s-causing-animation-to-stutter/303288/19 "2019-02-05T10:38:47Z")

</div>

None of the solutions in this thread worked for me. I think the culprit is when getting direction - using ‘get base aim rotation’ returns a direction that is constantly switching depending on your back animation (if your animation head moves a lot from side to side or if something is impeding your animation like collision). Hence your direction swaps from -179 to 179 and your character starts jittering.

The solution is to either fix your animation ( I didn’t want that) or to make a 2d blendspace with direction and speed and setting speed 0 with all direction to your idle stance. That way there is a path for the back animation to go → -179 back to idle to 179. Also the interpolation for both speed and direction MUST be 0, so the path can happen instantaneously. So frustrating, really hope Epic addresses this glaring issue. It works but without the interpolation, its less than ideal.

---

<div class="post-metadata">

**Author:** ![BRY](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BRY](https://forums.unrealengine.com/u/BRY)\
**Post date:** [February 23, 2019, 1:05am UTC](https://forums.unrealengine.com/t/walking-straight-backwards-with-s-causing-animation-to-stutter/303288/20 "2019-02-23T01:05:38Z")

</div>

1 button, fixed. You, my friend, are a saint.

[Next page](https://forums.unrealengine.com/t/walking-straight-backwards-with-s-causing-animation-to-stutter/303288.md?page=2)
