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 HolBol · Jun 15, 2010 at 06:56 AM · wheel-collider

Major Wheel collider problems

i Have a set of 4 wheel colliders. All the masses, springs, slip valus and everything are in the right place. I moved the box colliders of my car object, and now my car, when the play button is hit, will tip onto it's front right wheel (yes, it's trying to balance on one wheel :S). How do I fix this? i have changed the centre of gravity and stuff to try and balance everything, but i still get this problem. How do i fix this?

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 Nicolaj Schweitz · Jun 15, 2010 at 08:01 AM 0
Share

sounds odd... have you tried to build a simple project to see if it reproduces?

avatar image Nicolaj Schweitz · Jun 15, 2010 at 08:02 AM 0
Share

also, check out the car tutorial: http://unity3d.com/support/resources/tutorials/car-tutorial

avatar image HolBol · Jun 15, 2010 at 10:08 PM 0
Share

tried building to no avail, and ... dunno about the tut

avatar image JigneshKoradiya · Jul 07, 2015 at 05:18 PM 0
Share

https://www.youtube.com/watch?v=jNySyx2RrP0

check this video to solve problem of wheel collider bouncing on unity5

3 Replies

· Add your reply
  • Sort: 
avatar image
2

Answer by Edy · Jul 03, 2010 at 06:06 PM

Try not touching the center of mass at all. Instead, use colliders to resemble your car's shape. The physic engine calculates the center of mass according to the collider's volume and positions. If you need more mass to be concentrated at certain point (i.e. at the engine's location) then add additional colliders internally (overlapping colliders simulate more mass at the overalpping volume).

If you still need to accurately define your center of mass, then create an empty gameobject as child of your main gameobject vehicle. Name it "CenterOfMass". Use the editor to move it to the desired position of the center of mass. Then assign it as center of mass at the Start function:

function Start ()
{
    var CenterOfMass = transform.Find("CenterOfMass");
    rigidbody.centerOfMass = CenterOfMass.localPosition;
}
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 Kieran · May 16, 2011 at 10:38 AM

Make sure you leave the center of mass but spread the wheels out evenly and check the suspension springs because they could be making it bounc over

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 JigneshKoradiya · Jul 07, 2015 at 05:18 PM

https://www.youtube.com/watch?v=jNySyx2RrP0

check this video to solve problem of wheel collider bouncing on unity5

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

1 Person is following this question.

avatar image

Related Questions

Wheel collider in the air problem 0 Answers

Tire deformation? 0 Answers

Question about Wheel collider use 1 Answer

How to make a custom wheel collider ? 1 Answer

WheelCollider invisible 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