Help with making Sonic walk through a loop in Unreal Engine

I’m working on a Sonic game project in Unreal Engine and I need help with making Sonic able to walk through a loop.

I’ve followed some online tutorials on making the character align with the floor in Unreal Engine and tried to apply them to my Sonic game, but I haven’t been able to make it work correctly. When Sonic reaches 90 degrees, he can’t continue moving and stops.

I’m using the thirdperson template

Hey I’m trying to make something similar. How did you get your character to stick to the floor? Could you share your tutorials?