# How to change character sliding behavioUr?

**URL:** <https://forums.unrealengine.com/t/how-to-change-character-sliding-behaviour/487397>\
**Category:** Character & Animation\
**Tags:** source-code, charactermovementcom, unreal-engine, question\
**Created:** [August 13, 2021, 12:01pm UTC](https://forums.unrealengine.com/t/how-to-change-character-sliding-behaviour/487397 "2021-08-13T12:01:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vinni-richburgh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@vinni-richburgh](https://forums.unrealengine.com/u/vinni-richburgh)\
**Post date:** [August 13, 2021, 12:01pm UTC](https://forums.unrealengine.com/t/how-to-change-character-sliding-behaviour/487397/1 "2021-08-13T12:01:52Z")

</div>

Hi there,

my hair started turning gray over the time I was studying the source code to find a function describing what happens when a character slides down a surface that is steeper than the walkable floor angle.

I need a custom function to be fired for every tick that the character is sliding down a steep surface.

For that I implemented my own logic using a linetrace and the dotproduct, you get it…  
But this is unnescessary overhead aka a half baked function running in parallel to a function thats already doing the same thing, just better.

I spent hours now, repeatedly searching through the CharacterMovementComponent- and Character files, but I cant find a function doing stuff with the WalkableFloorAngle.

Any help is appreciated.

Greetings and stay hydrated!
