Download

How to add friction to a slide (sprint and crouch) movement? [Blueprint]

Hello. I’ve recently started to work with UE4, and I’d like to have a slide function in my project, in a way that the player can sprint and if he presses the crouch key, he slides. I’ve managed to get it working in a somewhat crude state, as you can see in the following video, the character slides in a very abrupt manner, as if there was no friction at all.

https://youtube.com/watch?v=OFwluNDZ8Z4

My question is: Is there a way to add some friction so that the player doesn’t immediately reaches the end of the slide? Something like it is showed in the video here, at 0:01 seconds.

https://www.youtube.com/watch?v=W-VSCbVSbIE

Here is a print of my current blueprint:

Thank you.
Blueprints.png