How do you make the sonic slope physics/360 Movement

I did something similar on my 2D project but it does not work at an angle more than 90° for whatever reason, anyway If I can help I set my default movement mode to flying so my character is not affected by gravity, then I set my actor’s rotation to match the terrain’s orientation by using linetraces firing from his feet and using the impact normal and some vector calculations. And finally I have an “add force” node that adds a force in the down vector’s direction so my character sticks to the surface.