Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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
2
Question by meribald · May 04, 2015 at 01:52 PM · rigidbodyaddforceroll a ball

Rigidbody starts moving without an applied force

I am a newbie in Unity. My problem is about the Player Rigidbody in the Roll-a-ball tutorial. When I start the game, the Rigidbody (ball) starts moving without any button being pressed. The rotation of the ground is 0 in all axes. I know this must have a simple solution but I couldn't find it. What might be the problem here? Sorry if this has been asked before, but I tried to find a similar question to no avail. Thanks in advance for any help.

Comment
Add comment · Show 3
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 JoelSeidel · May 04, 2015 at 05:08 PM 0
Share

Do you have gravity applied?

avatar image meribald · May 05, 2015 at 04:44 AM 0
Share

Yes, it is applied. The ball falls off from the edge of the platform when there are no walls.

avatar image tebandesade · Dec 07, 2015 at 04:10 PM 0
Share

Can you show code or pictures to see what's happening?

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by Pfo · May 05, 2015 at 03:17 AM

I'm new to Unity too and I had the same problem with the FPS controller. I decided to write my own code and found that Input.GetAxis Horizontal and Vertical always had input when I wasn't pressing anything.

Anyway, the fix I found was to go to Edit->Preferences->Input (or something like that) and rename the latter Horizontal and Vertical axes for joysticks to HorizontalJoy and VerticalJoy. For some reason the joystick axes are always getting input. It's so annoying. This fixed my problem.

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 meribald · May 05, 2015 at 06:02 AM 0
Share

Thank you for your response. Input's path is Edit->Project Settings->Input. I changed as you said (rename joystick axes), but nothing changed. Then, I changed 'Dead' value on both Horizontal and Vertical axis to several values. That didn't work, too.

avatar image
0

Answer by kokisan · Sep 16, 2016 at 10:48 PM

I know its old but I encountered the same problem.

My solution was in changing physics values in Project Settings -> Physics -> Gravity

Hope that helps.

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

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Roll A Ball: Can't get ball to move. Did not make same error as earlier posters. 1 Answer

Method for giving a ball momentum through a swipe 0 Answers

Top Down car/vehicle movement 1 Answer

how get bow to add more force over time 0 Answers

How to make a ball capable of rolling around a loop the loop? 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