Walk on walls.

In my game you are a ball and you have to roll around on this cube surface. But what i’m trying to do is when i get to one of the edges of the cube i want to be able to roll around on that side of the cube.I’m not sure how to do this can anyone explain how i would go about doing it.?

Something like this.

Or is there another way to use all sides of the cube for gameplay like i want to do.

Check out this thread and this post where author of this video explains details