I've been trying a platformer balloon effect. When the player stands above the balloon, the balloon goes down... After it went down, if the player is not above any more, it should go up...
How far i've got:
On layout start -> Gravity 0 Speed 0
Player stands above -> It goes down (gravity 100)
Player NOT above -> It goes down (gravity -20) (This triggers the gravity -20 even when de game starts since it fits the requirement of not beeing above... need other way)
But I can't figure out how to make it stop at the first position, avoiding it going too up.
I hope I did not confuse you too much.
Thanks for reading.