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
0
Question by khawarhabib · Jun 03, 2013 at 10:27 AM · gravitytiltbike

Bike wobbles like pendulum after applying gravity

Hi, I'm new to unity and my goal is to develop bike racing game. Let me share what I've done so far, I've edited unity car sample project and placed Bike instead of User car and made small changes.. the problem is that bike wobbles when I try to take a turn and after that bike continues to wobble! Now how do I make it run steady and give it a small tilt while taking turn? I would really appreciate any kind of help!

(sorry if this question sounds stupid).

Comment
Add comment · Show 1
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 fueldown · Jun 03, 2013 at 06:00 PM 0
Share

First of all, there are no stupid questions as long as you learn from them. As for your question, I'd like to see how you apply the gravity in the code. Also, can you tell how you set the wheel colliders? I might be able to help more with this information.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by fueldown · Jun 03, 2013 at 06:00 PM

First of all, there are no stupid questions as long as you learn from them. As for your question, I'd like to see how you apply the gravity in the code. Also, can you tell how you set the wheel colliders? I might be able to help more with this information.

Comment
Add comment · Show 4 · 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 khawarhabib · Jun 04, 2013 at 04:20 AM 0
Share

thanks.. 1- I applied gravity from unity by checking gravity checkbox checked. 2- the colliders are correct applied as tires rotates fine (gameobject => created empty => added two more gameobjects => added wheel colliders in each gameobject and applied to tires by setting up center with script) 3- $$anonymous$$ain point is that when bike starts moving and take a turn then bike wobbles for quite long like pendulum (moves from left to right and vice versa)

avatar image khawarhabib · Jun 04, 2013 at 04:42 AM 0
Share

I've placed my project here

Please have a look when you get time. thanks

avatar image hirenkacha · Jun 04, 2013 at 04:53 AM 0
Share

I also faced the same problem earlier. I fixed it by adjusting center of gravity / center of mass. Set it at lower end of the bike between two wheel colliders and touching the ground.

avatar image Gu7 · Jun 06, 2013 at 05:56 AM 0
Share

Hi, we are also facing same problem. But setting the center of gravity/ centre of mass is not solving the issue. If you could update in the above uploaded project it would have been of great help. Thanks.

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

17 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 avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Bike gravity fails 1 Answer

rotating/tilting the bike through accelerometer in unity. 1 Answer

How do I turn and tilt a bike with the iphone accelerometer? 1 Answer

Motorcycle/Bike Physics Trouble 5 Answers

Changing Gravity Quickly? 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