# What is the best way to let your character dodge roll

**URL:** <https://forums.unrealengine.com/t/what-is-the-best-way-to-let-your-character-dodge-roll/372883>\
**Category:** Character & Animation\
**Tags:** lerp, roll, unreal-engine, transform, question\
**Created:** [October 9, 2016, 2:26pm UTC](https://forums.unrealengine.com/t/what-is-the-best-way-to-let-your-character-dodge-roll/372883 "2016-10-09T14:26:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hanabi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hanabi](https://forums.unrealengine.com/u/Hanabi)\
**Post date:** [October 9, 2016, 2:26pm UTC](https://forums.unrealengine.com/t/what-is-the-best-way-to-let-your-character-dodge-roll/372883/1 "2016-10-09T14:26:25Z")

</div>

Hey all 🙂  
what is the best way to let your character do a roll in any direction you want. I tried it with lerp over time, but with lerp i went through walls :(. and with launching the character it`s hard to get the desired distance aswell as he get to much force when he Rolls of ledges 😕  
are there more physic based funtion for this kind of problem ? basically i just want to let him go a certain distance and then negate all force he had befor…

kind regards Dennis

---

<div class="post-metadata">

**Author:** ![Hanabi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hanabi](https://forums.unrealengine.com/u/Hanabi)\
**Post date:** [October 9, 2016, 2:28pm UTC](https://forums.unrealengine.com/t/what-is-the-best-way-to-let-your-character-dodge-roll/372883/2 "2016-10-09T14:28:44Z")

</div>

ps.: It`s for a Network game, so i can´t use Root Motion, i think… 🙂

---

<div class="post-metadata">

**Author:** ![Hanabi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hanabi](https://forums.unrealengine.com/u/Hanabi)\
**Post date:** [October 9, 2016, 3:54pm UTC](https://forums.unrealengine.com/t/what-is-the-best-way-to-let-your-character-dodge-roll/372883/3 "2016-10-09T15:54:52Z")

</div>

i rly need help 😃

---

<div class="post-metadata">

**Author:** ![MetricZero](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/metriczero/32/870265_2.png) [@MetricZero](https://forums.unrealengine.com/u/MetricZero)\
**Post date:** [March 20, 2017, 8:47pm UTC](https://forums.unrealengine.com/t/what-is-the-best-way-to-let-your-character-dodge-roll/372883/4 "2017-03-20T20:47:37Z")

</div>

Did you ever figure this out?

---

<div class="post-metadata">

**Author:** ![Hanabi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hanabi](https://forums.unrealengine.com/u/Hanabi)\
**Post date:** [March 21, 2017, 10:13pm UTC](https://forums.unrealengine.com/t/what-is-the-best-way-to-let-your-character-dodge-roll/372883/5 "2017-03-21T22:13:07Z")

</div>

I did it with the normal moving and exchanged the walk animation with a roll animation. Furthermore i add a “isRolling” bool so i can make him invulnerable 😃  
Hope that helped.  
As said lerp will make the character go through walls and launch will only add force so it is pretty inconsistend 😃
