# Can you adjust how quickly something accelerates depending on how step the land is?

**URL:** <https://forums.unrealengine.com/t/can-you-adjust-how-quickly-something-accelerates-depending-on-how-step-the-land-is/457868>\
**Category:** Blueprint\
**Tags:** ball, rolling-ball, unreal-engine, acceleration, Blueprint, question\
**Created:** [November 1, 2019, 7:01am UTC](https://forums.unrealengine.com/t/can-you-adjust-how-quickly-something-accelerates-depending-on-how-step-the-land-is/457868 "2019-11-01T07:01:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_776011b61](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_776011b61](https://forums.unrealengine.com/u/anonymous_user_776011b61)\
**Post date:** [November 1, 2019, 7:01am UTC](https://forums.unrealengine.com/t/can-you-adjust-how-quickly-something-accelerates-depending-on-how-step-the-land-is/457868/1 "2019-11-01T07:01:07Z")

</div>

Hi all

It has been awhile since I have used UE4. Thought about a ball game to get back in to it.

Can you adjust how a ball will accelerate depending on how steep the land is. If so, will it automatically start rolling backwards if you do not have enough momentum?

Cheers

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [November 1, 2019, 7:42am UTC](https://forums.unrealengine.com/t/can-you-adjust-how-quickly-something-accelerates-depending-on-how-step-the-land-is/457868/2 "2019-11-01T07:42:27Z")

</div>

The physics in the engine already handles that automagically. Or you do not wish to use physics and do things manually?

* * *

Apart from that, you can line trace directly down and get angle of the floor, map range that value into acceleration that accumulates in a variable. Use the variable to add to world movement.

I believe the character movement component (?) has a couple of method of checking the floor below you, too.
