Turn actor towards wall

Hello!

I Use Line Trace For Objects, to detect walls.
How can I turn the player towards the wall, if there is a hit?

I think I need the impact normal and make some kind of rotation, but looks like nothing works.

Can somebody help me?

Thanks for any help!

Answer live: Twitch

Update:

TBH, I had to no idea what you really wanted, but I did this in a 3rd person character template, line trace off the left side hip, once wall was detected, character rotate towards the wall. If you wanted to detect the right side, do not negate vector. So if you wanted both side, you will need two line traces.

maybe this will help Wall running UE4 +Actor Component+ Download File - YouTube