I have gravity coded into my sidescroller styled game and have a running up a wall system. Problem is since its 2 sided I have to have 2 different directions when running up a wall and your able to change direction while on the wall. Doing that causes your head to be on the wall and your feet opposite when its supposed to be your feet on the wall. How can I prevent changing direction?
i think what u can do is..

when the dir of the use is WEEST
the usr becomes unable to use the button EAST

i think this might work