How to make a floating mechanic

to make it simple i wanna make a charcter that can fly like the geometry dash ship,
basicly you hold space you go up, you let go you fall down

thanks in regards

Are you using the platform character behavior?

yeah i do

When the player presses space you decrease the gravity, when they release it you, you increase gravity.

i tried that but i was bad at it and couldent make it work right, can you show a example if you can?
thanks in regards

This example I used for another game, it uses falling speed, but it’s the same idea with gravity.

hey it worked, thanks :slight_smile:

1 Like