Character Walk on a Wall? (E.g Sonic running around a loop)

Looks good! How did you achieve this?