# How do I allow player character to slide back down a slope?

**URL:** <https://forums.unrealengine.com/t/how-do-i-allow-player-character-to-slide-back-down-a-slope/344461>\
**Category:** Character & Animation\
**Tags:** slide, unreal-engine, player, slope, question\
**Created:** [January 18, 2016, 1:49pm UTC](https://forums.unrealengine.com/t/how-do-i-allow-player-character-to-slide-back-down-a-slope/344461 "2016-01-18T13:49:01Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_d2b3694b](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d2b3694b](https://forums.unrealengine.com/u/anonymous_user_d2b3694b)\
**Post date:** [January 18, 2016, 1:49pm UTC](https://forums.unrealengine.com/t/how-do-i-allow-player-character-to-slide-back-down-a-slope/344461/1 "2016-01-18T13:49:01Z")

</div>

This is probably pretty simple to all of you but I’ve been at it for some days now and I can’t find the answer. I started off with the rolling ball template but although this had the desired effect of gravity and “rolling” back down the slope it wasn’t quite what I needed. I’ve eventually created another character that works almost to exactly what I need but it just wont slide back down the hill.

When I simulate physics the character goes all crazy and won’t even stay in the same spot for any amount of time.  
Heres a bit of the blueprint that handles the movement.

 ![74909-untitled.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/4/e/14ea1d8bf555c032a6f0868e95e0c8b66830e73d.png)

Here’s an example video of my char moving around on a slope. You will be able to see why I don’t want to “roll” down the hill.  
[Example video here][2]

Thanks for any help.

---

<div class="post-metadata">

**Author:** ![\_HP](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@\_HP](https://forums.unrealengine.com/u/_HP)\
**Post date:** [February 8, 2017, 7:54am UTC](https://forums.unrealengine.com/t/how-do-i-allow-player-character-to-slide-back-down-a-slope/344461/2 "2017-02-08T07:54:29Z")

</div>

Did you figure out a solution for this?

---

<div class="post-metadata">

**Author:** ![justdaveisfine](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@justdaveisfine](https://forums.unrealengine.com/u/justdaveisfine)\
**Post date:** [May 12, 2017, 7:17pm UTC](https://forums.unrealengine.com/t/how-do-i-allow-player-character-to-slide-back-down-a-slope/344461/3 "2017-05-12T19:17:40Z")

</div>

Sorry for a late reply, but if you’re still running into this problem: I ran into a similar issue and finally figured out a solution. You can get the current floor hit from character movement, then use the impact normal to get the direction, then put it into a looping timeline. Here is what mine looks like, just toggled rather than always on:

 ![137781-slope.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/6/f/96f1cd3f6f2ddb7e177434f7e1beb07ff2e0d169.png)

---

<div class="post-metadata">

**Author:** ![Dalposso](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dalposso](https://forums.unrealengine.com/u/Dalposso)\
**Post date:** [May 13, 2017, 6:52pm UTC](https://forums.unrealengine.com/t/how-do-i-allow-player-character-to-slide-back-down-a-slope/344461/4 "2017-05-13T18:52:10Z")

</div>

Hi, I’m a little but of a newbie, there in the bottom, it seems like there’s a lot of variables. Could you please let me know where do you use it and if there’s any specifics on creating it? Thanks!

---

<div class="post-metadata">

**Author:** ![justdaveisfine](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@justdaveisfine](https://forums.unrealengine.com/u/justdaveisfine)\
**Post date:** [May 16, 2017, 1:36pm UTC](https://forums.unrealengine.com/t/how-do-i-allow-player-character-to-slide-back-down-a-slope/344461/5 "2017-05-16T13:36:46Z")

</div>

I should have noted that in my project I needed the character to slide more easily and over much greater distances on toggle.

All those variables are default in the character movement component, which is automatically added when you create a character pawn.

---

<div class="post-metadata">

**Author:** ![Cerebros](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Cerebros](https://forums.unrealengine.com/u/Cerebros)\
**Post date:** [July 15, 2017, 12:42pm UTC](https://forums.unrealengine.com/t/how-do-i-allow-player-character-to-slide-back-down-a-slope/344461/6 "2017-07-15T12:42:37Z")

</div>

Hi Dave, what is the node that converts the normal of the hit result for the floor hit to Cosine angle to degrees?

---

<div class="post-metadata">

**Author:** ![Cerebros](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Cerebros](https://forums.unrealengine.com/u/Cerebros)\
**Post date:** [July 15, 2017, 1:19pm UTC](https://forums.unrealengine.com/t/how-do-i-allow-player-character-to-slide-back-down-a-slope/344461/7 "2017-07-15T13:19:45Z")

</div>

Never mind, it’s the Dot Product.

---

<div class="post-metadata">

**Author:** ![RealmDelight](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/realmdelight/32/778036_2.png) [@RealmDelight](https://forums.unrealengine.com/u/RealmDelight)\
**Post date:** [October 26, 2023, 2:14am UTC](https://forums.unrealengine.com/t/how-do-i-allow-player-character-to-slide-back-down-a-slope/344461/8 "2023-10-26T02:14:37Z")

</div>

Slide involves continuous displacement effects, such as sliding downhill. In fact, anything involving displacement should be implemented in the Character Movement Component to ensure smoothness.  
In addition, I found a plugin related to slide based on Physics on Unreal Marketplace. It seems like a one-stop solution to all problems. The demo uses the third person.

> **[Common Movement - Slide, Sprint, Jump in Code Plugins - UE Marketplace](https://www.unrealengine.com/marketplace/en-US/product/041815972e3f488ea70b1a694af9f756)**
>
> Lyra AnimLayer techniques and High mobility games - Like Locomotion are combined to create next generation multiplayer 3C experience
