# Getting the normal of a box

**URL:** <https://forums.unrealengine.com/t/getting-the-normal-of-a-box/103568>\
**Category:** C++\
**Tags:** unreal-engine\
**Created:** [December 6, 2017, 8:38pm UTC](https://forums.unrealengine.com/t/getting-the-normal-of-a-box/103568 "2017-12-06T20:38:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vight](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vight](https://forums.unrealengine.com/u/Vight)\
**Post date:** [December 6, 2017, 8:38pm UTC](https://forums.unrealengine.com/t/getting-the-normal-of-a-box/103568/1 "2017-12-06T20:38:58Z")

</div>

Hello!  
I’m currently making a wallrun system and I have problems with the “jumping off wall” function. I check if I’m bedside a wall with a boxcollider and catches the wall actor. So far, so good.  
But I need the normal from the box to the player.  
Example: the player is running on the right side and wants to jump. It shouldn’t matter where on the right side he jumps, he should still jump 90° from the walls surface.

how do I do this? Or maybe there’s an easier way without the normal? I’m using unreal engine 4.17.2
