Move Character While Attacking Without Root Motion?

Hello I have some attack animations where I’d like to move my character forward a bit, I don’t want to use root motion and using launch character works but when I attack near a ledge the character will go flying.

Is there a way to move the character forward properly without using the above methods?

Thank you.

There are several ways to do this. One of the easier ways is to Set Actor Location via Timeline or Tick and feed in a Vector Lerp node calculating Actor’s starting position and desired Location, which should be set to the Actor’s Forward Vector + desired travel distance.

I tried using the timeline to lerp from the actors location to the actors forward vector + 200 it works at first but upon pressing the button again it just teleports me to that specific location.

How are you updating the desired Location variable?

This is what I have

I figured it would just keep adding +200 to the location but it doesn’t seem to work that way.

What happens when you connect to the Play From Start connector from the F input?

Instead of it teleporting me it just brings me towards that specific location instead of moving ahead of the character

Here’s something I’ve used in the past to nudge a character forward. The attack forward multiplier varied between 4 and 8 depending on how far I wanted the character to move. Experiment with the value and let me know if it works for you.

1 Like

Yes this worked perfectly thank you for helping me out!

1 Like