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 gbabichev1 · May 17, 2015 at 07:41 PM · wheelcollider

Unity 5 WheelCollider Jitter/Vibration

Hi all, I followed this PDF guide to create a simple car in Unity 5:

http://unity3d.com/profiles/unity3d/themes/unity/resources/downloads/beta/unity-5.0-user-guide.pdf

My problem is, at slow speeds, there is a lot of jitter and vibrations coming from the car. I can post a video if it is necessary.

I have tried playing around with the weights, and the suspension settings, but I still get the same problem.

Has anybody seen any information about this?

Comment
Add comment · Show 5
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 mattcscz · Jun 13, 2015 at 01:02 PM 2
Share

I'm having this issue, however it doesn't get fixed when I set it to None :( Any other ideas?

avatar image DrivingSim · Jul 23, 2015 at 10:01 AM 0
Share

I have been running into this same issue since updating to U5 from U4. It seems to be tied to the new U5 wheelcolliders somehow. $$anonymous$$y player vehicle jitters ever so slightly even when no force is applied. I have a camera parented to the vehicle and it causes the screen to wiggle or jerk around when in "rail-ride" mode that follows a path. tried a million adjustments. Took me weeks just to get it to this point - it was worse when I first upgraded. Just sent it in to Unity support. I'll post anything I learn.

I am convinced it's the wheelColliders. I can't seem to find that sweet spot when balancing all wheel frictions etc. I use it for a commercial driving sim product so I need them accurate not dialed for racing. They work okay, but can't get it "tight". Tends to be very slippery unless you up the stiffness a lot. Didn't have this particular issue in previous versions.

[edit] Just want to add that we were able to get the new colliders to "work" but can't seem to get rid of these little anomalies which didn't exist in U4 wheelcolliders. Our project is a sim not a game so we require tight control over vehicles. In short, the new colliders do work but in certain cases are difficult to dial in for subtleties. We plan to just retro fit our AI cars with Edy's new U5 vehicle physics in the future hoping to eli$$anonymous$$ate that last 1% of weirdness.

avatar image dingben · Aug 05, 2015 at 08:48 AM 0
Share

It seems to only occur when a large acceleration is imposed on the vehicle, especially on initial movement as if the wheels are slipping, like and old s$$anonymous$$m engine locomotive ... setting 'interpolate' on the rigidbody does not seem to help much if at all! ...or counter acceleration at low speed.

Even worse if you simply have a working vehicle and only change the size(y in this case) of the box/collider you use as the body... then it goes into massive continuous tremors which amounts to riding techno-cobble-stones... can't get it to quiet down only if go miserably slow! Just hit 'undo' and poof all better! ?!?!

UPDATE see answer below

avatar image mattcscz · Aug 05, 2015 at 01:15 PM 1
Share

I've stopped using this system all together as it's simply terrible, however the best fix I found was to set the timescale to a very small value, in my case 0.0005.

avatar image anushritayal · Apr 07, 2017 at 06:46 AM 0
Share

Hello everyone!

$$anonymous$$y car jitters and vibrates when I turn it. I have tried all the above and it works good when the car is running straight. But whenever it turns, it appears to jitter and vibrate in that direction.

I happened to change some settings for making the steering look more realistic because otherwise on ALL WHEEL DRIVE the car goes out of control.

Can anyone guide me across?

Thanks in advance!

7 Replies

· Add your reply
  • Sort: 
avatar image
7

Answer by DiegoSLTS · Oct 19, 2015 at 03:30 AM

I think I had this problem and it was solved 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.

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 leonpard · Mar 24, 2016 at 07:03 PM 0
Share

Thanks so much for sharing this! I figured it out reason for how it fixes the bug.

For whoever gets the same problem: I think the reason this can fix the bug of jitter/vibration problem is that: the integration of the suspension system is not accurate enough because of the longer physics time step.

So when we change the sub-steps, we will have a more accurate simulation on the suspension system. Here is a link of Unreal4 Physics Sub-Stepping Doc, which is also helpful I think: https://docs.unrealengine.com/latest/INT/Engine/Physics/Substepping/index.html

Anyway, thank you guys!

avatar image PizzaPortal · Apr 09, 2016 at 10:17 PM 0
Share

THAN$$anonymous$$ YOU! I'm so happy that i finally found the solution to this problem, it drove me insane.

avatar image FlightOfOne · Jun 06, 2017 at 03:08 AM 0
Share

This is the only solution that worked form. None of the others worked. Thank you!

avatar image krishn95 · Nov 21, 2020 at 10:05 PM 0
Share

I am a complete beginner at coding. Can someone please explain to me what to do? How do I set these substeps? Do I have to create a method?

avatar image Kiraaa23 · Nov 07, 2021 at 08:20 AM 0
Share

Thank You So much @DiegoSLTS ..Those values worked out for me..

avatar image
2

Answer by gbabichev1 · May 18, 2015 at 03:14 PM

I fixed this by going to the main car rigidbody and using the drop down menu and setting "Interpolate" to "Interpolate" from "None".

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 dingben · Aug 05, 2015 at 08:48 AM 1
Share

...did not work for me.

avatar image alexpop94 · Jun 18, 2019 at 07:33 AM 0
Share

Thank you :)

avatar image
2

Answer by Schneewind · Nov 11, 2016 at 06:23 PM

Solved the problem by going to Project Settings > Time and decrased the Fixed Timestep Value.

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 Schneewind · Nov 11, 2016 at 03:48 PM 0
Share

But I don't know if if's best Way because it's lagging more.

avatar image P3piK · Jul 18, 2018 at 07:48 PM 1
Share

Thanks, it worked for me.

avatar image
0

Answer by dingben · Aug 05, 2015 at 09:44 AM

So, setting interpolate did not do it for me... MaxMotorTorque is how I got rid of the jitters... but still tweakin'... It's like redeveloping one's game all over again! Why do I need a life I am but a lowly coding lackey. All the fine tuned parameters I had arrived at to get the perfect vehicle are all SHITE now! Gotta find the new magic combination! amnotmadnow! but when I am done, if I have lost the responsiveness and control I had so painfully reached on 4.x, iwillbemadthen!

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 RLin · Aug 05, 2015 at 01:18 PM 0
Share

...$$anonymous$$aybe you should've read the change notes and not updated, Unity knew the new wheelcollider would break most previous wheelcolliders and require re tweaking.

avatar image dingben · Aug 06, 2015 at 06:44 AM 0
Share

yeah I did but time passed as I got busy on other things...then in haste I figured it would not be this bad... as in many prior updates where tweaking was needed... here is the link to the other thread where I covered the same issue I got it to work now, except for the 'visualWheels' the tutorial is vague/surface info..., one must do trial and error.

avatar image
0

Answer by SpankPack · Aug 17, 2015 at 12:35 AM

Non scientifically: On my bike, I got rid of jittering when I replaced my capsule collider with a box collider. It was shaking even when standing still.

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 dingben · Aug 18, 2015 at 04:22 AM 0
Share

@SpankPack well, if you don't give more precise info, it is hard to tell why a change in collider would be the solution... all primitives do not center the same way, the radius/the skin of a collider is adjustable, etc. It's like tuning a carburator... change the air mix and you have to tweak the fuel flow, change fuel flow, and the idle must be tweaked, tweak the idle, the choke may need to match... see link I provided above.

  • 1
  • 2
  • ›

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

When I use WheelColliders, my car drifts to the left. Why? 3 Answers

Applying Torque to wheelcollider 1 Answer

Why Wheel Collider Not Following Tires Shape 0 Answers

With wheel collider my car not landing properly in slops, it gives jumping effect when not all four wheels are grounded? 0 Answers

unity 5 wheel collider problem 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