# Rootmotion - how to change roll distance with the same animation

**URL:** <https://forums.unrealengine.com/t/rootmotion-how-to-change-roll-distance-with-the-same-animation/477658>\
**Category:** Character & Animation\
**Tags:** roll, unreal-engine, UE4, question\
**Created:** [January 23, 2021, 8:37am UTC](https://forums.unrealengine.com/t/rootmotion-how-to-change-roll-distance-with-the-same-animation/477658 "2021-01-23T08:37:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![peppanda2525](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/peppanda2525/32/612939_2.png) [@peppanda2525](https://forums.unrealengine.com/u/peppanda2525)\
**Post date:** [January 23, 2021, 8:37am UTC](https://forums.unrealengine.com/t/rootmotion-how-to-change-roll-distance-with-the-same-animation/477658/1 "2021-01-23T08:37:15Z")

</div>

===Question===

- How to change roll distance with the same animation?

===Example===

- With the same forward rolling animation which has root motion, but I would like to roll further or shorter, is there anyway to achieve this just by UE4? (e.g. Animation Montage?)
- Any idea or known techniques will be greatly appreciated. (It was difficult to find any related tutorial online)

---

<div class="post-metadata">

**Author:** ![peppanda2525](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/peppanda2525/32/612939_2.png) [@peppanda2525](https://forums.unrealengine.com/u/peppanda2525)\
**Post date:** [January 24, 2021, 3:58pm UTC](https://forums.unrealengine.com/t/rootmotion-how-to-change-roll-distance-with-the-same-animation/477658/2 "2021-01-24T15:58:58Z")

</div>

I finally found my answer to this matter.  
Please follow the steps below for a sample change of the distance on your animation.

1. Make copy of your animation first
2. Open your new animation (duplicated from step 1)
3. Open “Skeleton Tree” tab on the left side.
4. Click “Root” or very top bone of the Skeleton Tree.

![327964-2021-01-25-2-38-25.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/3/c/e3cc277bfe3b86e42bb94fe3cc4dd8c2fccdccdd.png)

1. Click “Key” on top tab (This create new key)

 ![327965-2021-01-25-2-43-03.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/e/e/bee7870ed9e8826a40e30ffc96ffb1df8be0691d.png)

1. Click “Additive Layer Tracks” section “Root” which just created by add new key in the previous step.
2. Enter Curve Editor for “Root”

![327966-2021-01-25-2-43-27.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/f/5/0f5fdfc8c97b2d8c7883b225e84c674294d8fdcb.png)

1. Add “Key” in the frame where you want the distance to change.
2. Change the “Root.Translation.Y” (For my example) value to make the roll distance change.
3. Put into the Animation Montage and test it out.
4. It should look like GIF below:

![327967-roll-front-edit-01.gif](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/e/4/0e48c1e31d5141bd17fb0800b0c35013d15635c0.gif)

---

<div class="post-metadata">

**Author:** ![KE-REM](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KE-REM](https://forums.unrealengine.com/u/KE-REM)\
**Post date:** [June 14, 2021, 6:33am UTC](https://forums.unrealengine.com/t/rootmotion-how-to-change-roll-distance-with-the-same-animation/477658/3 "2021-06-14T06:33:37Z")

</div>

Thanks for sharing, exactly what I was looking for. Going to test this now in 4.26.

---

<div class="post-metadata">

**Author:** ![Dinaga](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dinaga](https://forums.unrealengine.com/u/Dinaga)\
**Post date:** [June 30, 2023, 4:12pm UTC](https://forums.unrealengine.com/t/rootmotion-how-to-change-roll-distance-with-the-same-animation/477658/4 "2023-06-30T16:12:16Z")

</div>

Thank you a thousand times! This is exactly what I needed, I didn’t know it was so easy to do! I really appreciate that you posted the answer here! 😇

---

<div class="post-metadata">

**Author:** ![GarthHere](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GarthHere](https://forums.unrealengine.com/u/GarthHere)\
**Post date:** [April 27, 2024, 2:35am UTC](https://forums.unrealengine.com/t/rootmotion-how-to-change-roll-distance-with-the-same-animation/477658/5 "2024-04-27T02:35:03Z")

</div>

Hey all  
This can be done with a 1D blendspace and two of the same animations, one animation a in place anim and the other a root animation, changing the blend amount changes the distance moved.
