Before I get into the real question, I want to elaborate on what I am trying to do first.
I trying to develop a Puzzle Platform game in which the player controls a girl who uses magnet powers. When I press the 'X' button I want her to change color; Red for North and Blue for South.
If she is Blue and on an south block she'll be repulsed into the air. If she is in a Red magnetic field she'll be pulled in.
I can get her to change color, flip upside down by using gravity.
I'm thinking of using the overlap feature for the magnetic fields, but I don't know how to do the repulsion.
I also have a problem when you try to walk when she's flipped. She move left when you hold down the right key. I don't know if it's possible to invert those.
Any help is appreciated.