# Character sliding after jumps

**URL:** <https://forums.unrealengine.com/t/character-sliding-after-jumps/386837>\
**Category:** Character & Animation\
**Tags:** friction, jumping, sliding, unreal-engine, question\
**Created:** [March 3, 2017, 1:47pm UTC](https://forums.unrealengine.com/t/character-sliding-after-jumps/386837 "2017-03-03T13:47:34Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![villehappo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@villehappo](https://forums.unrealengine.com/u/villehappo)\
**Post date:** [March 3, 2017, 1:47pm UTC](https://forums.unrealengine.com/t/character-sliding-after-jumps/386837/1 "2017-03-03T13:47:34Z")

</div>

Hi!

I’ve been dealing with a long term problem which I haven’t been able to solve for a month now. I have a first person character which I made from an empty character.

After I land from a jump or fall on landscape or a mesh, my character starts to slide uncontrollably, or gets stuck and I can’t control it’s movement.

This **ONLY** happens if camera is looking below it’s own location on Z-axis and **ALWAYS** stops immediately if camera’s view goes above it’s own location on Z-axis.

This problem persists on a packaged version of the project, which my friends tried on their own PC’s.

## I have tried

- Adding horizontal and vertical spring arms to characters camera (no effect in any way)
- Changing friction settings between 0-5000 (higher friction makes the sliding slower, but it happens nevertheless)
- Modifying capsule components size
- Changing walkable floor angle and step height on movement component
- Increasing linear and angular damping on capsule component
- …

It usually seems like the character “pops up”, just before I gain control of it again. I made a notation on the video, when this happens. This seems to be a collision problem, because touching objects which simulate physics, can also set the character on a sliding mode, which lasts several seconds or until camera’s view is lifted.

## Images and a video

Characters movement input

 ![128579-movementinput.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/e/d/3edb741c8f5681b0e499f6ccbce49232ec145eb1.jpeg)

Characters mouse input

 ![128580-mouseinput.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/7/5/3752cd3032ce41b0c65dd73ce6454b249343bad4.jpeg)

Here’s a video of the problem and image of character settings in the video.

https://www.youtube.com/embed/F7hIfXQH2DE?feature=oembed&wmode=opaque

 ![128593-charactersettings.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/3/b/f3bfb7baace92dfacc2a97e8b87d1b164a8eab10.jpeg)

Please ask if you need more material or the project itself. Thank you for your time!

---

<div class="post-metadata">

**Author:** ![Black\_Phoenyx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Black\_Phoenyx](https://forums.unrealengine.com/u/Black_Phoenyx)\
**Post date:** [March 3, 2017, 2:06pm UTC](https://forums.unrealengine.com/t/character-sliding-after-jumps/386837/2 "2017-03-03T14:06:26Z")

</div>

Do you have friction settings setup for your materials?

---

<div class="post-metadata">

**Author:** ![villehappo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@villehappo](https://forums.unrealengine.com/u/villehappo)\
**Post date:** [March 3, 2017, 2:09pm UTC](https://forums.unrealengine.com/t/character-sliding-after-jumps/386837/3 "2017-03-03T14:09:29Z")

</div>

Hmm. I have never seen or heard about material friction settings. Need to look in to it…

---

<div class="post-metadata">

**Author:** ![Black\_Phoenyx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Black\_Phoenyx](https://forums.unrealengine.com/u/Black_Phoenyx)\
**Post date:** [March 3, 2017, 2:13pm UTC](https://forums.unrealengine.com/t/character-sliding-after-jumps/386837/4 "2017-03-03T14:13:22Z")

</div>

For any physical materials

 ![128594-physicalmaterialfriction.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/3/f/53f0c203ab1b040d4db1447d264ace9d1ac8ac5e.png)

---

<div class="post-metadata">

**Author:** ![villehappo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@villehappo](https://forums.unrealengine.com/u/villehappo)\
**Post date:** [March 3, 2017, 2:35pm UTC](https://forums.unrealengine.com/t/character-sliding-after-jumps/386837/5 "2017-03-03T14:35:52Z")

</div>

I set a physics material for my landscape material. It has friction set to one and restitution set to zero. It didn’t make any difference.

---

<div class="post-metadata">

**Author:** ![Black\_Phoenyx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Black\_Phoenyx](https://forums.unrealengine.com/u/Black_Phoenyx)\
**Post date:** [March 3, 2017, 2:37pm UTC](https://forums.unrealengine.com/t/character-sliding-after-jumps/386837/6 "2017-03-03T14:37:46Z")

</div>

I am attempting to replicate it based solely on your character setup however I am unable to…is it perhaps a collision issue? Is the ground a landscape actor or a static mesh?

---

<div class="post-metadata">

**Author:** ![villehappo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@villehappo](https://forums.unrealengine.com/u/villehappo)\
**Post date:** [March 3, 2017, 3:06pm UTC](https://forums.unrealengine.com/t/character-sliding-after-jumps/386837/7 "2017-03-03T15:06:13Z")

</div>

It is a landscape actor, but this slide also happens on meshes which have auto generated collision. For example the house’s floor has just a box collision and I have no problems inside the house, but those Ice blocks have an auto generated collision and problem appears.

---

<div class="post-metadata">

**Author:** ![villehappo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@villehappo](https://forums.unrealengine.com/u/villehappo)\
**Post date:** [March 3, 2017, 3:08pm UTC](https://forums.unrealengine.com/t/character-sliding-after-jumps/386837/8 "2017-03-03T15:08:05Z")

</div>

I did some more testing and this problem also happens inside the house.

---

<div class="post-metadata">

**Author:** ![Black\_Phoenyx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Black\_Phoenyx](https://forums.unrealengine.com/u/Black_Phoenyx)\
**Post date:** [March 3, 2017, 5:36pm UTC](https://forums.unrealengine.com/t/character-sliding-after-jumps/386837/9 "2017-03-03T17:36:24Z")

</div>

Ok now it makes sense…disable the Use Controller Rotation Pitch in the class defaults of your first person character

---

<div class="post-metadata">

**Author:** ![villehappo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@villehappo](https://forums.unrealengine.com/u/villehappo)\
**Post date:** [March 3, 2017, 9:17pm UTC](https://forums.unrealengine.com/t/character-sliding-after-jumps/386837/10 "2017-03-03T21:17:44Z")

</div>

Yes! That solved the problem. Thank you so much \<3

---

<div class="post-metadata">

**Author:** ![Black\_Phoenyx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Black\_Phoenyx](https://forums.unrealengine.com/u/Black_Phoenyx)\
**Post date:** [March 3, 2017, 9:45pm UTC](https://forums.unrealengine.com/t/character-sliding-after-jumps/386837/11 "2017-03-03T21:45:42Z")

</div>

Awesome, don’t forget to mark this as resolved/answered
