# How do i configure the bounce when i jump on top of a character?

**URL:** <https://forums.unrealengine.com/t/how-do-i-configure-the-bounce-when-i-jump-on-top-of-a-character/300412>\
**Category:** World Creation\
**Tags:** bounce, unreal-engine, Physics, Collision, question\
**Created:** [December 3, 2014, 12:16am UTC](https://forums.unrealengine.com/t/how-do-i-configure-the-bounce-when-i-jump-on-top-of-a-character/300412 "2014-12-03T00:16:58Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![xlar8or](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/xlar8or/32/710746_2.png) [@xlar8or](https://forums.unrealengine.com/u/xlar8or)\
**Post date:** [December 3, 2014, 12:16am UTC](https://forums.unrealengine.com/t/how-do-i-configure-the-bounce-when-i-jump-on-top-of-a-character/300412/1 "2014-12-03T00:16:58Z")

</div>

Hello, when i jump on top of an enemy, he gives a little boost jump (kinda like super mario), how can i configure or disable that? I’m also experiencing some weird projections when my enemy is in ragdoll and i jump on top of him, sometimes i get projected to the sky and sometimes i’m projected so far i reach the bounds of the level.

---

<div class="post-metadata">

**Author:** ![KillerPenguin](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/killerpenguin/32/1005607_2.png) [@KillerPenguin](https://forums.unrealengine.com/u/KillerPenguin)\
**Post date:** [December 17, 2014, 8:51am UTC](https://forums.unrealengine.com/t/how-do-i-configure-the-bounce-when-i-jump-on-top-of-a-character/300412/2 "2014-12-17T08:51:04Z")

</div>

We’re having this issue also.

---

<div class="post-metadata">

**Author:** ![Co](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Co](https://forums.unrealengine.com/u/Co)\
**Post date:** [December 17, 2014, 3:38pm UTC](https://forums.unrealengine.com/t/how-do-i-configure-the-bounce-when-i-jump-on-top-of-a-character/300412/3 "2014-12-17T15:38:22Z")

</div>

Hi,

in your Character Components setup, select the _CapsuleComponent_.

Under _Collision_ change **Can Character Step Up On** from **ECB No** to **ECB Yes** , your character won’t be bumped away anymore (but it will walk upon others head so you’ll need to handle this by yourself)

---

<div class="post-metadata">

**Author:** ![Co](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Co](https://forums.unrealengine.com/u/Co)\
**Post date:** [December 31, 2014, 8:30am UTC](https://forums.unrealengine.com/t/how-do-i-configure-the-bounce-when-i-jump-on-top-of-a-character/300412/4 "2014-12-31T08:30:11Z")

</div>

Hi,

I just found the “real” bounce tweaking value, in the **CharacterMovementComponent** , change **JumpOffJumpZFactor** to something smaller (if you don’t want your character to be allowed to stand on top of another)

```
/** Fraction of JumpZVelocity to use when automatically "jumping off" of a base actor that's not allowed to be a base for a character. (For example, if you're not allowed to stand on other players.) */
```

---

<div class="post-metadata">

**Author:** ![xlar8or](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/xlar8or/32/710746_2.png) [@xlar8or](https://forums.unrealengine.com/u/xlar8or)\
**Post date:** [December 31, 2014, 11:53am UTC](https://forums.unrealengine.com/t/how-do-i-configure-the-bounce-when-i-jump-on-top-of-a-character/300412/5 "2014-12-31T11:53:28Z")

</div>

Changing the Can Character Step Up On worked if i set it to ECB Yes to all the components. If i leave it as ECB No and i set JumpOffJumpZFactor to 0.0 it stills bumps off the character, shouldn’t it prevent from bumping?

---

<div class="post-metadata">

**Author:** ![Co](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Co](https://forums.unrealengine.com/u/Co)\
**Post date:** [December 31, 2014, 12:12pm UTC](https://forums.unrealengine.com/t/how-do-i-configure-the-bounce-when-i-jump-on-top-of-a-character/300412/6 "2014-12-31T12:12:19Z")

</div>

I just checked how **JumpOffJumpZFactor** is used internally in C++.

When an actor must be pushed away from another due to **Can Character Step Up On** being set to **ECB No** , the CharacterMovementComponent generate a random Vector as new Velocity for the actor trying to step on. Then this vector Z part is forced to _JumpOffJumpZFactor x JumpZVelocity_ so even with a JumpOffJumpZFactor of 0 your character will still be pushed away on the X/Y  
axis.

**BluePrint method:**

You can either stick on the **ECB Yes** method and make your own _sliding_ code when your character is on top of another (by changing its velocity)

**C++ Method:**

Or create your own class inherited from CharacterMovementComponent and override the **JumpOff** function to compute the Velocity when stepping onto another character.

---

<div class="post-metadata">

**Author:** ![xlar8or](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/xlar8or/32/710746_2.png) [@xlar8or](https://forums.unrealengine.com/u/xlar8or)\
**Post date:** [December 31, 2014, 12:14pm UTC](https://forums.unrealengine.com/t/how-do-i-configure-the-bounce-when-i-jump-on-top-of-a-character/300412/7 "2014-12-31T12:14:56Z")

</div>

Understood 🙂 Thank you for the detailed answer 🙂

---

<div class="post-metadata">

**Author:** ![glitch2424](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@glitch2424](https://forums.unrealengine.com/u/glitch2424)\
**Post date:** [February 4, 2021, 11:26pm UTC](https://forums.unrealengine.com/t/how-do-i-configure-the-bounce-when-i-jump-on-top-of-a-character/300412/8 "2021-02-04T23:26:37Z")

</div>

JumpOffjumpZfactor helped! thank you

---

<div class="post-metadata">

**Author:** ![glitch2424](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@glitch2424](https://forums.unrealengine.com/u/glitch2424)\
**Post date:** [February 5, 2021, 1:00am UTC](https://forums.unrealengine.com/t/how-do-i-configure-the-bounce-when-i-jump-on-top-of-a-character/300412/9 "2021-02-05T01:00:46Z")

</div>

Possible solution paths:

Blueprint logic: If landed on object type pawn, do whatever. For myself, I’m doing a trace once on a pawn. Once trace fails (meaning no pawn beneath), I am decreasing the velocity.

 ![328917-pawn-bounce-off-solution-path.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/d/f/fdf91741d514ad7b26da9881d886438a7c12b0c2.jpeg)

 ![328916-pawn-bounce-off-my-solution.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/c/2/4c2bfb935ef7970a4c576cb8621ce9fae8100fd2.jpeg)

Component Solution: Add cone near the top of your capsule so it’s impossible to land on any of their surfaces.

Inside the Floor Trace Macro is just a capsule trace from the bottom of my capsule to teh ground, and the otehr impulse counteract velocity is custom, it essentiallly just get the current component velocity at that moment and applies it via impulse. Here

 ![328918-coutneract.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/6/8/068e5247599e4e6d412e93191196e48ccc3b1707.jpeg)

---

<div class="post-metadata">

**Author:** ![AlexanderFate](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AlexanderFate](https://forums.unrealengine.com/u/AlexanderFate)\
**Post date:** [February 16, 2021, 4:23pm UTC](https://forums.unrealengine.com/t/how-do-i-configure-the-bounce-when-i-jump-on-top-of-a-character/300412/10 "2021-02-16T16:23:29Z")

</div>

If someone is searching how to fix it in UE 4.25. In PlayerCharacter MovementComponent you can find a property Standing Downward Force Scale. It’s how jumping impacts on the actor you jump on (if his physics enabled of course). Set it 0.1 or less and you will reduce the hit force so actor will not be dancing after you jump on it
