I'm relatively new to gamemaker but know the basics and how it all works. While making a game I ran into an issue where the player character (playergrounded) goes from being affected by gravity then by the press of space not being affected (playerfly) so the player can fly. I decided to go down the route of having the player change objects by creating the other object and destroying itself. the issue I ran into is I don't know how to have the momentum be transferred to the other object and would like a decel effect. I was wondering if having them switch objects was a good idea or should it stay in one object or how would I be able to go about this.