Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(+1)

Not open-source, and real rough at the moment but it's a combination of these three things + some custom systems to determine which way to apply gravity when you touch a surface.

Sorry, I know that's not super helpful unless you've got the time / knowledge to develop it from scratch, but can't share it as it's not entirely my work.