Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

I used a boolean checking for contact with ground. A jump makes it false and landing makes it true. When jump input pressed, jump only if boolean is true. A better way is to use a raycast downwards. If distance from ground is less than some value, then jump.

yeah me too. Don’t understand why it just keeps going up. But thank you 

Paste the script to pastebin or something and I'll look. Code only does what you tell it to.

yeah I will when I get home. And I added a Debug.Log to see if it’s doing it. And in the console it just says true. So it always thinks it’s grounded. Never says false and comes down