I want to change the way my character moves within a "game" I'm making. I can set it up to have the player's direction to follow the mouse. I can also make it so the player follows a different object. I want to be able to switch through these two (and possibly more), movement schemes in the same game with a button press. Thing is, I need to have them both run at tick speed. I can't figure out how to do this.
I basically need a variable that triggers different controls by using the space key.
Would I do that with a function, and if so how?
I messed with the #'s just to see if it'd help. This starts by following the mouse, then on a planet object after pressing space and then it gets stuck on that.