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
2
Question by Glowball123 · Apr 06, 2020 at 09:51 PM · wheelcollidervehicle

how do i fix my car violently shaking?

my car that uses wheel colliders is shaking and i dont know how to fix it. I am willing to change anything about the car to get it fixed except for the mass and friction of the wheels.

here is a video showcasing the problem: https://streamable.com/o4qslf

here are my wheel collider properties if that helps

alt text

the mass of the vehicle is 1000

wheel-collider.png (37.6 kB)
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 Glowball123 · Apr 09, 2020 at 04:10 AM 0
Share

i tried adding the sub-step parameters and it worked! now i just need to stop the car from sliding when i turn, any help with that?

5 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by Vibertex · Apr 08, 2020 at 09:46 PM

@Glowball123 Try copying this and slowly!alt text


unknown.png (31.1 kB)
Comment
Add comment · Show 5 · 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 Vipertex13 · Apr 08, 2020 at 09:56 PM 0
Share

@Vibertex

HEY!

That is my picture I sent you

You cant use that it is my code on my 3D car game!

I have proof I sent that on discord to him

avatar image Vipertex13 Vipertex13 · Apr 08, 2020 at 09:57 PM 0
Share

Here is proof

https://cdn.discordapp.com/attachments/536264384121536513/696837344833044551/unknown.png

avatar image Arcalise Vipertex13 · Nov 23, 2020 at 11:42 PM 2
Share

It is absolutely hilarious to me that you would suggest someone cant use it because "that's your code" that is most certainly NOT your code. Its not even code buddy. I had to comment when I saw your ridiculous reply to someone trying to help someone else out.

What you got there is predefined values for someone elses code. Wheel colliders are made by unity. Not you.

Furthermore, Even if initial values to someone elses script was something you could claim to be yours and only for your game. Its not even from you. These exact values can be found in an official unity tutorial... So

Nice try buddy. Stop being so sucky. You wouldnt even be allowed to use unity without the good gracious of people willing to give their hard work for free.

Show more comments
avatar image JahnStar Vipertex13 · Mar 31 at 02:20 PM 0
Share

You didn't contribute Unity Engine, so you can't use it. ?

avatar image
0

Answer by Vipertex13 · Apr 06, 2020 at 11:38 PM

You should try increasing the spring and damper The rest is a little weird try changing suspension distance or force from the app point distance

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 Glowball123 · Apr 08, 2020 at 08:22 PM

i did and its still shaking

Comment
Add comment · Show 2 · 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 Vipertex13 · Apr 08, 2020 at 09:36 PM 0
Share

Try setting the setting the sub-step parameters: http://docs.unity3d.com/ScriptReference/WheelCollider.ConfigureVehicleSubsteps.html

I can't remember what values I used and I'm not really sure how they affect things exactly, just tested some values like (5, 12, 15) and all the jitter stopped, without changing the suspension of the wheel (the car should move without jitter without forcing a fixed suspension or time scale). Like it's explained in the docs, you only need to set this once for a wheel collider and every wheel collider.

avatar image Vipertex13 Vipertex13 · Apr 09, 2020 at 12:15 AM 0
Share

Try changing the Sideways friction and forward friction

avatar image
0

Answer by juzimmer · Dec 03, 2021 at 12:38 AM

Lower your center of mass.

Try

  float reduceCenterMassY = -1;
  _rigidbody.centerOfMass = new Vector3(_rigidbody.centerOfMass.x, reduceCenterMassY , _rigidbody.centerOfMass.z);

Add a game object to your script so you can visualize where exactly on your vehicle the world center of mass is. Lowering your local center of mass effectively lowers your world center of mass.

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 poken21 · Mar 31 at 02:55 PM

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

try what he does at 8:02

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

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

How to make a car not slow down while turning? 2 Answers

Simplified vehicle physics for ambient traffic vehicles 1 Answer

Making mesh rotate with WheelCollider 3 Answers

Wheelcollider Settings to Match Default Unity 4 0 Answers

When I use WheelColliders, my car drifts to the left. Why? 3 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