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
0
Question by Marshal_Alessi · Dec 15, 2015 at 08:59 PM · c#unity 5wheelcollider

Wheel Colliders make my car fly

Hello, as the title suggests, I'm trying to make a car in unity, and just added the wheel colliders. However, when I did that, the car flipped out and goes flying. I did a google search to find similar problems, and the solutions I found did not work. I tried going into the project settings, and changing the gravity from -9.8 to -20. I also ensured that my car's rigid body has a mass of 3000. Can someone shed some light as to what I'm doing wrong? :)

Thank you!

alt text

wheelsettings.png (19.5 kB)
Comment
Add comment · Show 2
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 RedHedZed · Dec 15, 2015 at 09:18 PM 0
Share

When does it flip out? Immediately at start? When you attempt to move the car forward? When it collides with something?

I haven't actually used the Wheel Collider, but after reading through the documentation, I think it is because of your suspension spring settings. Try something like the documentation has maybe?

Spring: 1 Damper: 0 Target Position: 0.5

avatar image Marshal_Alessi RedHedZed · Dec 15, 2015 at 09:26 PM 0
Share

It does it when the scene loads. I haven't even added in any script yet. When I tried adjusting to those settings, the car dances backwards ins$$anonymous$$d of flipping out.

3 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by Marshal_Alessi · Dec 15, 2015 at 10:42 PM

Alright all, I fixed the problem, but I'm not sure exactly what it was that I did to fix it. So for future reference, if anyone is reading this post, these are the steps I took. I went back, and deleted all of the wheels except for one, and re-added them into an empty game objects(centered around the car) and placed them all in them. Then, I duplicated all of the wheels, but deleted the duplicates actual mesh, leaving just the empty game object that is now centered at each tire. From there, I simultaneously added wheelcolliders to the wheels, and adjusted their size to fit the car. And voila, my car no longer floats, and with my added script can drive.

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 Speedomon · Jun 11, 2021 at 07:33 PM

You should check if another collider from your car collides with the wheel collider. It was the problem in my case.

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 kostas_6 · Mar 21 at 01:22 PM

I encreased the mass value of the car - parent of wheels

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

48 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 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 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

Multiple Cars not working 1 Answer

Distribute terrain in zones 3 Answers

Wheel Collider Rotation 0 Answers

Car trembling when reaching a certain speed 1 Answer

A real head-scratcher 0 Answers


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