Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

i need help writing code to make a sphere jump which will work with my code i wrote

Discussion in 'Scripting' started by itspicklerickandmorty, Apr 7, 2020.

  1. itspicklerickandmorty

    itspicklerickandmorty

    Joined:
    Apr 6, 2020
    Posts:
    16
    can somebody please write some cs the makes a ball move and jump coz I've written mine and done everything for it it was working but then it just stopped working
     
  2. Yoreki

    Yoreki

    Joined:
    Apr 10, 2019
    Posts:
    2,590
    Define 'stopped working'. Also, there are probably hundreds of tutorials on basic stuff like this. Did you look some up, for example on youtube? I honestly doubt it.
    Given how frequently you asked very basic questions about errors and spelling mistakes over the past 2 or so days, i would recommend you to start at the very basics and learn coding. There are some amazing free tutorials out there, like this one:
     
  3. itspicklerickandmorty

    itspicklerickandmorty

    Joined:
    Apr 6, 2020
    Posts:
    16
    i have been watching it but on ep06 after saving it i got error CS0117: 'KeyCode' does not contain a definition for 'space'
     
  4. Yoreki

    Yoreki

    Joined:
    Apr 10, 2019
    Posts:
    2,590
    I dont want to sound rude, but over half of your threads involved you asking about some error with the solution being that you introduced a typo. It's the same here. I'll let you fix it yourself, but please pay more attention to spelling, including capitalization in the future. If something is named 'Xyz', then that's not the same as 'xyz' or 'xYz', as those could even be their own variable names and all exist at the same time.