# Character Wall jumps too high in certain situations

**URL:** <https://forums.unrealengine.com/t/character-wall-jumps-too-high-in-certain-situations/725006>\
**Category:** Blueprint\
**Tags:** jumping, movement-component, jump, unreal-engine, characters, question\
**Created:** [December 9, 2022, 8:34pm UTC](https://forums.unrealengine.com/t/character-wall-jumps-too-high-in-certain-situations/725006 "2022-12-09T20:34:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sweeetjd](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sweeetjd/32/782492_2.png) [@sweeetjd](https://forums.unrealengine.com/u/sweeetjd)\
**Post date:** [December 9, 2022, 8:34pm UTC](https://forums.unrealengine.com/t/character-wall-jumps-too-high-in-certain-situations/725006/1 "2022-12-09T20:34:03Z")

</div>

I have a character that can wall jump off of objects when those objects have the WallJump collision channel set to Block.

When there is only one wall-jumpable object to jump off of, the character will wall jump normally. However, if there are multiple objects nearby that the player can jump off of, the force of the wall jump becomes excessive. There’s two ways this problem presents itself:

 ![walljumpcorner](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/f/8/7f835d7b762730be033ce597ab50c3785fbf4e8a.jpeg)

1. If there are two objects that form a corner, the wall jump will roughly double it’s expected height.

 ![WalljumpParallel](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/7/0/37054417b9f51c25bff8e659b8a51e24c6abb444.jpeg)  
2. If there are two objects facing each other, the wall jump will increase seemingly proportionally to the height of the opposing object. It isn’t a matter of the player moving so fast that his speed pushes him up the side of the object. He will wall jump excessively high even without touching the opposing wall.

The character is not looking for or measuring the heights of any objects around it, so I’m not sure why it would be doing this.

 ![WallJump](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/a/3/ca3f36b3735560b556d73154807bbc17daabc0c1.png)

---

<div class="post-metadata">

**Author:** ![Mind-Brain](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mind-brain/32/906573_2.png) [@Mind-Brain](https://forums.unrealengine.com/u/Mind-Brain)\
**Post date:** [December 9, 2022, 10:16pm UTC](https://forums.unrealengine.com/t/character-wall-jumps-too-high-in-certain-situations/725006/2 "2022-12-09T22:16:44Z")

</div>

Hey @sweeetjd!

Hmm. Interesting. Can you show a video of the #2, with your character collider and the wall’s colliders visible? I have some theories but I’d like to narrow it down.

Oh and for #1, can you screenshot the code where you’re calling the “Wall Jump” function? 🙂

---

<div class="post-metadata">

**Author:** ![sweeetjd](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sweeetjd/32/782492_2.png) [@sweeetjd](https://forums.unrealengine.com/u/sweeetjd)\
**Post date:** [December 10, 2022, 7:33am UTC](https://forums.unrealengine.com/t/character-wall-jumps-too-high-in-certain-situations/725006/3 "2022-12-10T07:33:16Z")

</div>

I think I mostly solved it, although I have no idea what the issue was. I have a function that runs on tick, and inside was a reference to a variable that didn’t exist, plugged into the multiply node with Get Actor Forward Vector. For some reason, the engine acted as if it did exist. I can’t connect the multiply node to the Distance Input, and I can’t use a variable without it failing. But if I leave it like this, it works. I’m pretty dumbfounded but as long as it works I guess I won’t complain lol

 ![ProblemChild2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/2/a/12af4920827c0fe085d2aeb81f96f37cfd61defd.png)
