I've been looking for a way to do this all night.
My goal is to have two characters in a platformer.
One character follows the other until the player presses the switch key.
When the switch key is pressed the character that was following would now be the lead and the previous lead would be following.
I've got it to the point where one character follows the other character but switching the lead still eludes me. (The following I have set up is pretty terrible too. :/)
To get a better idea of what I'm thinking of, this would be similar to Donkey Kong Country. Diddy kong trades places with DK and vice versa.