runing on walls?

so how can i make player run walls like in picture?
Somehow was thinking how to attach player to that wall so he dont fall of.