So ive just gotten into Unity just mainly for a new hobby and one of the first things that i was pointed to were tutorials on the main site. the first one that have begun to try is the simple ball rolling game. unfortunately i have run into an issue that i have not been able to solve with C#. i follow the tutorial as close as i can but when ever i try to load up a game preview it says that there are numerous mistakes with scripting that i haven’t been able to solve. i was wondering if anyone could take a look at this and tell em what im doing wrong.
Well, I’m not sure how closely you are following your tutorials, but almost every line is missing a semicolon after it.
Line 11 you got it right, but line 16, 17, 19, and 21 all need one.
Line 14, you missed the ‘e’ of the FixedUpdat**e**() method.
With programming, attention to detail is everything.
so i ve cleaned it up but im still unable to make the ball move and i really dont have any idea what the problem might be.
make sure the ball has a rigidbody component?
What happened to your post I replied to? Please don’t delete/edit posts like that, it totally ruins the readability of the thread.
2 Likes
If that screenshot is updated, you’re still missing your semicolons…
Are there any console errors?
1 Like

