# Dodge roll animation rolls character out of places and camera wont follow the movement when animation is in play.

**URL:** <https://forums.unrealengine.com/t/dodge-roll-animation-rolls-character-out-of-places-and-camera-wont-follow-the-movement-when-animation-is-in-play/333803>\
**Category:** Cinematics & Media\
**Tags:** roll, unreal-engine, question, Blueprint\
**Created:** [September 29, 2015, 9:14pm UTC](https://forums.unrealengine.com/t/dodge-roll-animation-rolls-character-out-of-places-and-camera-wont-follow-the-movement-when-animation-is-in-play/333803 "2015-09-29T21:14:40Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![kaamoz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kaamoz](https://forums.unrealengine.com/u/kaamoz)\
**Post date:** [September 29, 2015, 9:14pm UTC](https://forums.unrealengine.com/t/dodge-roll-animation-rolls-character-out-of-places-and-camera-wont-follow-the-movement-when-animation-is-in-play/333803/1 "2015-09-29T21:14:40Z")

</div>

[](https://dl.dropboxusercontent.com/s/2zvrhznp3hjntvh/Screenshot%202015-09-30%2000.04.19.png?dl=0)

[![]( " - YouTube") ](https://www.youtube.com/watch?v=KhVZ3B-loU4)

There is my blueprint config for that action and a record which shows exactly what it does wrong currently 🙂

---

<div class="post-metadata">

**Author:** ![mirsabayu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mirsabayu](https://forums.unrealengine.com/u/mirsabayu)\
**Post date:** [September 30, 2015, 3:35am UTC](https://forums.unrealengine.com/t/dodge-roll-animation-rolls-character-out-of-places-and-camera-wont-follow-the-movement-when-animation-is-in-play/333803/2 "2015-09-30T03:35:03Z")

</div>

are you forgot to set the root motion ??

---

<div class="post-metadata">

**Author:** ![kaamoz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kaamoz](https://forums.unrealengine.com/u/kaamoz)\
**Post date:** [September 30, 2015, 6:51pm UTC](https://forums.unrealengine.com/t/dodge-roll-animation-rolls-character-out-of-places-and-camera-wont-follow-the-movement-when-animation-is-in-play/333803/3 "2015-09-30T18:51:42Z")

</div>

My skeleton doesnt have root bone, so is there any way to set movement capsule follow character mesh during dodge? and if so, how is it coded in blueprint? im am not too far from beginner level so… 🙂

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_ca624335](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_ca624335](https://forums.unrealengine.com/u/anonymous_user_ca624335)\
**Post date:** [September 30, 2015, 7:08pm UTC](https://forums.unrealengine.com/t/dodge-roll-animation-rolls-character-out-of-places-and-camera-wont-follow-the-movement-when-animation-is-in-play/333803/4 "2015-09-30T19:08:08Z")

</div>

I believe the main problem you are having is that your animation actually moves in space, instead of being moving only in its axis.

If you look at the player blueprint viewport, you’ll see that the ‘boss’ of player is the capsule component, and you can’t change the position of it in the world, because it is the base for your character. There is no easy way around it, you need to either fix your animation so it performs the animation but it doesn’t actually move in space or alternatively you can ‘hack’ by using a timeline to move your rolling animation back in space as it moves forward, so even if it is moving in space, every frame you push it back, so it looks like it isn’t moving, and then you move the whole player (capsule).

Sorry if I was little confusing, but if you have access to the animation or if oyu did it yourself is better to fix it in Maya so you get in the habbit of doing animations like that. (If you look at the walking/running cycles they don’t actually move the player in space, they only feel like they’re moving)

Cheers!

---

<div class="post-metadata">

**Author:** ![kaamoz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kaamoz](https://forums.unrealengine.com/u/kaamoz)\
**Post date:** [September 30, 2015, 7:28pm UTC](https://forums.unrealengine.com/t/dodge-roll-animation-rolls-character-out-of-places-and-camera-wont-follow-the-movement-when-animation-is-in-play/333803/5 "2015-09-30T19:28:43Z")

</div>

Thanks for a very informative reply mate! 🙂 i can actually change the animation so that it plays in place. But how can i code it then like this. Press V → dodge roll animation plays off but also the capsule component needs to move certain amount of length in world. So that it doesnt do the roll in place when play testing. The length of the capsule movement should also be fixed so that the player dont have access in any control during the animation. Im talking about tera/guildwars2 etc dodge roll mechanics. When pressed dodge key → character dodges say 2 metres. If i just know how to do forced capsule movement during animation play i would be golden here 😃

Btw sorry for my english, not so topnotch 🙂

---

<div class="post-metadata">

**Author:** ![vydraf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@vydraf](https://forums.unrealengine.com/u/vydraf)\
**Post date:** [December 22, 2015, 2:07pm UTC](https://forums.unrealengine.com/t/dodge-roll-animation-rolls-character-out-of-places-and-camera-wont-follow-the-movement-when-animation-is-in-play/333803/6 "2015-12-22T14:07:48Z")

</div>

i have very same problem with 5 animations i am using 😃 do you have a solution how to fix it so it looks kind of ok when playing?

---

<div class="post-metadata">

**Author:** ![FilipeTessaro](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/filipetessaro/32/1194666_2.png) [@FilipeTessaro](https://forums.unrealengine.com/u/FilipeTessaro)\
**Post date:** [December 22, 2015, 3:04pm UTC](https://forums.unrealengine.com/t/dodge-roll-animation-rolls-character-out-of-places-and-camera-wont-follow-the-movement-when-animation-is-in-play/333803/7 "2015-12-22T15:04:57Z")

</div>

Hello

Try the Launch Character funcion, here is an example:

 ![71586-launch.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/8/4/d8491cf434a2bf4741a50d2e0aa5644689922917.png)

When I press the “V” key, it triggers the custom event that launch character forward.

The effect is like this video, but note that as I don´t have a dodge animation, when the character is launched forward it uses my running animation, ok?

So you have to use the launch character function mixed with your custom animation. You could use the “Play Animation” function in the same custom event to launch, for example.

Here is the video: [- YouTube](https://www.youtube.com/watch?v=-Tx3wJgG2TI&feature=youtu.be)

---

<div class="post-metadata">

**Author:** ![zanty55](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@zanty55](https://forums.unrealengine.com/u/zanty55)\
**Post date:** [May 19, 2023, 7:16am UTC](https://forums.unrealengine.com/t/dodge-roll-animation-rolls-character-out-of-places-and-camera-wont-follow-the-movement-when-animation-is-in-play/333803/8 "2023-05-19T07:16:18Z")

</div>

The timeline hack works fine, thanks I was thinking on changing all my animations with the proper skeleton to do it with root motion but you saved me, thanks!!
