# Character Snaps back when walking or running animation stops

**URL:** <https://forums.unrealengine.com/t/character-snaps-back-when-walking-or-running-animation-stops/1297622>\
**Category:** Character & Animation\
**Tags:** character-state, unreal-engine, FeatureRequest, state-machines, Blueprint, question\
**Created:** [September 15, 2023, 6:55pm UTC](https://forums.unrealengine.com/t/character-snaps-back-when-walking-or-running-animation-stops/1297622 "2023-09-15T18:55:03Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![AnonymousJoker12](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AnonymousJoker12](https://forums.unrealengine.com/u/AnonymousJoker12)\
**Post date:** [September 15, 2023, 6:55pm UTC](https://forums.unrealengine.com/t/character-snaps-back-when-walking-or-running-animation-stops/1297622/1 "2023-09-15T18:55:04Z")

</div>

Hi, I am very new to game development just started and not able to pass through the character movement if you see in this video my character snaps back to place or just drag back when i move forward i also set up blendspace and also tried transition method  
Animations and character rig are from mixamo  
Initially, i wanted to make endless runner type of game very simple with jump and slide mechanic and automatic running in the forward direction but the camera is angled from side like Mario but ended up like this.  
I also checked root motion it was disabled and even enabling it didn’t help me.

[https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/1/e/61eeb79ec7040a894442b130448b5ea8bf2f63d6.mp4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/1/e/61eeb79ec7040a894442b130448b5ea8bf2f63d6.mp4)

---

<div class="post-metadata">

**Author:** ![56legion](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/56legion/32/1194529_2.png) [@56legion](https://forums.unrealengine.com/u/56legion)\
**Post date:** [September 16, 2023, 8:18am UTC](https://forums.unrealengine.com/t/character-snaps-back-when-walking-or-running-animation-stops/1297622/2 "2023-09-16T08:18:32Z")

</div>

Looks like your animation is in root motion. The whole setup that you are having is for in-place motion while your animation is in root motion. So, inside the animation sequence, you can check the box “force root lock”.

Hopefully it helps.

---

<div class="post-metadata">

**Author:** ![AnonymousJoker12](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AnonymousJoker12](https://forums.unrealengine.com/u/AnonymousJoker12)\
**Post date:** [September 16, 2023, 10:27am UTC](https://forums.unrealengine.com/t/character-snaps-back-when-walking-or-running-animation-stops/1297622/3 "2023-09-16T10:27:31Z")

</div>

Thanks for your reply  
sadly it didn’t work  
it feels like my character is snapping back and starting animation after certain frame even though I am trying it to run or walk forward it glides back after certain frames

---

<div class="post-metadata">

**Author:** ![56legion](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/56legion/32/1194529_2.png) [@56legion](https://forums.unrealengine.com/u/56legion)\
**Post date:** [September 16, 2023, 11:09am UTC](https://forums.unrealengine.com/t/character-snaps-back-when-walking-or-running-animation-stops/1297622/4 "2023-09-16T11:09:12Z")

</div>

What didn’t work? Have you tried it?  
If it still doesn’t work, well another idea that I have in mind is your character is moving by pelvis bone.

The fix to this is more complicated. But before that are you retargeting the animation somewhere? You might need to retarget the root bone to be the correct bone. I’m afraid you will need to experiment with this yourself, cause every skeleton behaves differently unless your mesh are retargetted to UE5 default skeleton.

---

<div class="post-metadata">

**Author:** ![AnonymousJoker12](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AnonymousJoker12](https://forums.unrealengine.com/u/AnonymousJoker12)\
**Post date:** [September 16, 2023, 11:38am UTC](https://forums.unrealengine.com/t/character-snaps-back-when-walking-or-running-animation-stops/1297622/5 "2023-09-16T11:38:01Z")

</div>

force root lock didn’t fix it  
actually am not doing any retargeting its directly from Mixamo even my character rig

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [September 16, 2023, 6:46pm UTC](https://forums.unrealengine.com/t/character-snaps-back-when-walking-or-running-animation-stops/1297622/6 "2023-09-16T18:46:56Z")

</div>

Hey there @AnonymousJoker12! Welcome to the community! So Legion is correct you do have an animation that requires root motion to be set up properly, though just checking root motion on only does some of the necessary measures. Here’s a tutorial that should help you get your character to follow the animation’s root motion and retain proper location.

**Disclaimer: One or more of these links are unaffiliated with Epic Games. Epic Games is not liable for anything that may occur outside of this Unreal Engine domain. Please exercise your best judgment when following links outside of the forums.**

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/4/d/34d715de22d3e353eb37f774c733419e160f844e.jpeg "Unreal Engine 5 Tutorial - Root Motion in Animation") ](https://www.youtube.com/watch?v=vMEN3j6RLj0)

---

<div class="post-metadata">

**Author:** ![56legion](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/56legion/32/1194529_2.png) [@56legion](https://forums.unrealengine.com/u/56legion)\
**Post date:** [September 17, 2023, 12:56am UTC](https://forums.unrealengine.com/t/character-snaps-back-when-walking-or-running-animation-stops/1297622/7 "2023-09-17T00:56:42Z")

</div>

So, my guess is you import straight to Unreal? If so, then your root bone doesn’t exist and the engine attempts to fix this to use your pelvis bone instead.

You will have to add the root bone first. There’s a blender plugin to convert them.

Also, if you are doing **walk start** and **walk end** , the setup isn’t the same as simply plugging the speed variable. It’s more complicated with a lot of calculation, that’s what root motion is all about, to use the skeletal mesh to drive the movement component and not the other way around.

I might be mistaken in your animations, but you should use walk loop animation instead of walk start.

---

<div class="post-metadata">

**Author:** ![AnonymousJoker12](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AnonymousJoker12](https://forums.unrealengine.com/u/AnonymousJoker12)\
**Post date:** [September 17, 2023, 10:55am UTC](https://forums.unrealengine.com/t/character-snaps-back-when-walking-or-running-animation-stops/1297622/8 "2023-09-17T10:55:11Z")

</div>

Thanks for the reply can you give me the name of that plugin? and just to let you know I am using walk loop animation maybe its the root bone issues as u mentioned

---

<div class="post-metadata">

**Author:** ![AnonymousJoker12](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AnonymousJoker12](https://forums.unrealengine.com/u/AnonymousJoker12)\
**Post date:** [September 17, 2023, 10:55am UTC](https://forums.unrealengine.com/t/character-snaps-back-when-walking-or-running-animation-stops/1297622/9 "2023-09-17T10:55:46Z")

</div>

thanks for your support

---

<div class="post-metadata">

**Author:** ![56legion](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/56legion/32/1194529_2.png) [@56legion](https://forums.unrealengine.com/u/56legion)\
**Post date:** [September 17, 2023, 12:53pm UTC](https://forums.unrealengine.com/t/character-snaps-back-when-walking-or-running-animation-stops/1297622/10 "2023-09-17T12:53:11Z")

</div>

The plugin itself is really old, but it should solve your problem.  
I myself have tested it a few days ago. Be sure to use the supported blender version for the best result. I’ve tried on Blender 3.2 and it seems to work fine, for me at least.

> **[GitHub - enziop/mixamo\_converter: Blender addon for converting mixamo...](https://github.com/enziop/mixamo_converter)**
>
> Blender addon for converting mixamo animations to Unreal 4 rootmotion - GitHub - enziop/mixamo\_converter: Blender addon for converting mixamo animations to Unreal 4 rootmotion

---

<div class="post-metadata">

**Author:** ![AnonymousJoker12](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AnonymousJoker12](https://forums.unrealengine.com/u/AnonymousJoker12)\
**Post date:** [September 17, 2023, 12:54pm UTC](https://forums.unrealengine.com/t/character-snaps-back-when-walking-or-running-animation-stops/1297622/11 "2023-09-17T12:54:19Z")

</div>

i got one addon by do some search and i fixed the root bone but my animation still snaps when i press W to walk it walk couple or steps then snap back and keep on walk and if i kept it pressed it will run but snap is still there

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/1/d/21d6692de2f7387203d32cbc76285976955f8e5f.jpeg)

---

<div class="post-metadata">

**Author:** ![AnonymousJoker12](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AnonymousJoker12](https://forums.unrealengine.com/u/AnonymousJoker12)\
**Post date:** [September 17, 2023, 12:55pm UTC](https://forums.unrealengine.com/t/character-snaps-back-when-walking-or-running-animation-stops/1297622/12 "2023-09-17T12:55:38Z")

</div>

i got the same plugin thanks any way even though iam still searching for solutions iam learning new things !

---

<div class="post-metadata">

**Author:** ![56legion](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/56legion/32/1194529_2.png) [@56legion](https://forums.unrealengine.com/u/56legion)\
**Post date:** [September 17, 2023, 12:55pm UTC](https://forums.unrealengine.com/t/character-snaps-back-when-walking-or-running-animation-stops/1297622/13 "2023-09-17T12:55:51Z")

</div>

Did you convert the animation as well? Or just the skeletal mesh?

---

<div class="post-metadata">

**Author:** ![AnonymousJoker12](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AnonymousJoker12](https://forums.unrealengine.com/u/AnonymousJoker12)\
**Post date:** [September 17, 2023, 1:01pm UTC](https://forums.unrealengine.com/t/character-snaps-back-when-walking-or-running-animation-stops/1297622/14 "2023-09-17T13:01:19Z")

</div>

i converted them all by following the tutorial  
what i did is i got one idle animation with skin and rest animation without  
and imported idle with mesh and skeletal tick and rest without mesh but using same skeletal  
and animations are working but whenever i play the issue is its snap back  
here in the updated video if you can notice the snapping or loop i dont know  
also here i just created a blenspace to make the character start with walk not idle to walk i thought maybe walking animation was creating the issue so i was just testing thats why he walks automatically

[https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/3/3/233e10b6b09e1ecff1a272758e50c5079312f303.mp4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/3/3/233e10b6b09e1ecff1a272758e50c5079312f303.mp4)

---

<div class="post-metadata">

**Author:** ![56legion](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/56legion/32/1194529_2.png) [@56legion](https://forums.unrealengine.com/u/56legion)\
**Post date:** [September 17, 2023, 1:10pm UTC](https://forums.unrealengine.com/t/character-snaps-back-when-walking-or-running-animation-stops/1297622/15 "2023-09-17T13:10:10Z")

</div>

Hard to tell you exactly what the cause, you might not telling me something. I suggest you delete all the assets and re-import it again but this time, all animations SHOULD NOT USE SKIN and only the skeletal mesh should have skin.

Also, make sure when you create animation inside the mixamo, make sure “In place” box is checked for the animations. If not, then you have to re-download it again.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/0/0/d0057c85dd06534e0ce11485e992af18f1647e3d.png)

---

<div class="post-metadata">

**Author:** ![AnonymousJoker12](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AnonymousJoker12](https://forums.unrealengine.com/u/AnonymousJoker12)\
**Post date:** [September 17, 2023, 1:14pm UTC](https://forums.unrealengine.com/t/character-snaps-back-when-walking-or-running-animation-stops/1297622/16 "2023-09-17T13:14:29Z")

</div>

i didnt use inplace check box for my animations maybe thats causing me this issue?? ill redownload and check but one question though if i use inplace then how it will move in unreal like for example for walking animation it will walk inplace?

---

<div class="post-metadata">

**Author:** ![56legion](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/56legion/32/1194529_2.png) [@56legion](https://forums.unrealengine.com/u/56legion)\
**Post date:** [September 17, 2023, 1:16pm UTC](https://forums.unrealengine.com/t/character-snaps-back-when-walking-or-running-animation-stops/1297622/17 "2023-09-17T13:16:58Z")

</div>

Yes. You want it to walk in place and not walk forward. If it walks forward then it is considered root motion.

The setup of root motion is not something for beginner. The setup is complicated and complex. A lot of maths.

---

<div class="post-metadata">

**Author:** ![AnonymousJoker12](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AnonymousJoker12](https://forums.unrealengine.com/u/AnonymousJoker12)\
**Post date:** [September 17, 2023, 1:29pm UTC](https://forums.unrealengine.com/t/character-snaps-back-when-walking-or-running-animation-stops/1297622/18 "2023-09-17T13:29:13Z")

</div>

[https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/f/b/9fb28ce4aa4e52133c916eb90723348f96c169c1.mp4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/f/b/9fb28ce4aa4e52133c916eb90723348f96c169c1.mp4)
  
This time it worked!!  
so i guess the inplace option was causing this issue  
now i just need to figure out how to make it more smooth and good coz right now it glides little and even not stop while in air lol

Thank you so much for your support

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [October 17, 2023, 1:29pm UTC](https://forums.unrealengine.com/t/character-snaps-back-when-walking-or-running-animation-stops/1297622/19 "2023-10-17T13:29:42Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
