I have a sprite with the platform behavior. If I set it to enabled=false in the middle of a jump, it freezes, which is ok. Problem is, when I set it to enabled again, it continues the "physical" part of the jump. I would like it to just fall, reset the previous jump state...
How can that be done?
Develop games in your browser. Powerful, performant & highly capable.
After debugging and seeing what changes upon a jump - setting vector y to 0 did the trick