Trying to make my player stop in mid-air if a button is clicked.
* Disabling the Platform behavior doesn't do it.
* Setting gravity to 0 doesn't do it.
* Enabling Solid behavior doesn't do it.
* Setting his y to Self.Y in addition to all the other things doesn't do it.
I'm sure that these actions are triggered because if I toggle them to 'disabled' it behaves differently.
But the player keeps having the impulse that it had even with all these. It flies up if I was on the way up, or falls down slowly if I was on the way down.
How do I stop it completely?