# How to do a directional dodge with timeline?

**URL:** <https://forums.unrealengine.com/t/how-to-do-a-directional-dodge-with-timeline/2034572>\
**Category:** C++\
**Tags:** timeline, roll, unreal-engine, velocity, question, CPP\
**Created:** [September 23, 2024, 6:37pm UTC](https://forums.unrealengine.com/t/how-to-do-a-directional-dodge-with-timeline/2034572 "2024-09-23T18:37:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sa1lim.RAM](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sa1lim.ram/32/681130_2.png) [@sa1lim.RAM](https://forums.unrealengine.com/u/sa1lim.RAM)\
**Post date:** [September 23, 2024, 6:37pm UTC](https://forums.unrealengine.com/t/how-to-do-a-directional-dodge-with-timeline/2034572/1 "2024-09-23T18:37:21Z")

</div>

I mean velocity grows in direction? which character’s going at the mometnt. I tride (GetActorLocation() - GetLastInputVector()).Normolize, but it does not work. How can i do this? This is an example of how i did dodge  
And also i do not use LaunchCharacter(), this function is bad

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/2/3/c23023d9a1dc620620f7a734ff0687b31fecd788.jpeg "Dodge Roll and Dash Step Movement - Unreal Engine 5 Tutorial") ](https://www.youtube.com/watch?v=nV_JGMNRGpc&t=186s)
