Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Slow down gravity

Discussion in 'Getting Started' started by zain.rafiq, Mar 17, 2015.

  1. zain.rafiq

    zain.rafiq

    Joined:
    Jan 1, 2015
    Posts:
    11
    Hey, so I'm making a game and I wanted to know if I can slow down gravity by pressing a button like the space bar. My script is using imput.Getkey.down to make the keys work. So to sum up my gravity is set to 14 via script and I want to know how to slow it down, again, via script. Any help would be appreciated. Thanks.