How do you make the sonic slope physics/360 Movement

Heres what i was able to do so far with a pawn

While a loop ended up like this

so i need help attempting to fix this