Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
3
Question by Lhp174 · Dec 09, 2016 at 06:19 AM · unity 5tutorialglitchroll a ball

Roll a Ball Tutorial does not work. Help?

I did the Roll a Ball Tutorial (movement) twice (even copied the script they give you) and both times it didn't work. One time it didn't move. The Second time it didn't move except when I hit the down arrow, which makes it fly straight up. Also when I close Unity and then re-open it all my objects are gone. (platform and sphere). I am super confused, also getting really annoyed because this is my second day trying this program and have already found some errors. Can anyone help me? REALLY FRUSTRATED!!!

Comment
Add comment · Show 4
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image JeffHardddyyy · Dec 09, 2016 at 04:01 PM 0
Share

What errors are you getting ?

avatar image BlakeTourneur · May 15, 2017 at 02:53 AM 0
Share

I had the exact same problem! It's so annoying!

avatar image Pyrate144 · May 15, 2017 at 05:53 AM 0
Share

I'm actually having a similar problem. The only difference is my ball simply won't move. I've tried both the wasd and arrow keys and still nothing. I copied the exact code as well.

avatar image Pyrate144 Pyrate144 · May 15, 2017 at 06:23 AM 0
Share

Okay, I managed to get my ball to roll so hopefully this helps you as well. In your hierarchy menu, click on "player". In the inspector menu you should see "Player Controller (Script)" near the bottom. Open that and under "speed", if it says 0, change it to 1, then hit play. Hopefully the ball moves for you.

3 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by Dubtoker · Dec 09, 2016 at 05:08 PM

Just a question, are you saving the scene? When you open unity sometimes you must load your scene? Might be that?

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Pyrate144 · May 15, 2017 at 07:16 AM

I'm actually having a similar problem. The only difference is my ball simply won't move. I've tried both the wasd and arrow keys and still nothing. I copied the exact code as well.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by nhugg1040 · Aug 20, 2017 at 04:15 AM

@Pyrate144 If you copied the code from the tutorial, you will notice that the "rb.AddForce(movement * speed);" section of the code is different than the one the instructor creates because the speed portion is added on later in the video. You need to change the speed by clicking on the 'Player' object and go down to the 'Player Controller (Script)' section. The speed defaults at 0. Change the speed and rerun your game. It should work now.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Alxis11 · Sep 07, 2017 at 08:20 AM 0
Share

I am not even getting the Player Controller (Script) section to include speed or something... help

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

10 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

my ball wont collect(rollaball) 2 Answers

Roll-A-Ball Tutorial public float speed 1 Answer

Why do Unity 5 is glitched as hell? Please, I need help... 0 Answers

How do I stop my camera rotating with my player? 0 Answers

[Unity 5.3] - Graphics Glitch in Built game. 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges