Is there any way to flip the player’s direction so that he could possibly walk on the ceiling/walls/floor? (there was a fan made game called VVVVVV+portal with similar mechanics.)
I’m not really sure I understood what you want to do.
If you want your player walking on a wall you can just change his direction by -90 degrees and change the gravity vector from [0, 9.81] to [9.81, 0] for a wall on the right.
In that way, walking on the ceiling can be made by changing the direction by 180 degrees and put the gravity vector to [0, -9.81].
I hope this will help you.
Thanks! I’ll try it out.