Issues with rotating pawn parallel to surface

So I found an example on how to orientate a pawn/collison parallel to surface and it works 100%, but my issue arises when I come down a sloped ramp. I’ve posted below a copy of the Blueprints code executing the logic, and a video showcasing the actual problem.



In the video you can see going up the ramp is no issue, but coming down is a different story, for the most part everytime I land on the ramp, the pawn will rotate to the side, do you guys have any tips on what I can change to fix that? Thanks in advance!

You can use the node “Find look at rotation”