now it can walk on corners!
Still some glitches... Gives me Super Mario Galaxy vibes I feel this code can be refined very much, so I'll do it in the actual game