The anti roll script that is in this forum by Edy doesn't seem to work all too well in Unity 5. http://forum.unity3d.com/threads/how-to-make-a-physically-real-stable-car-with-wheelcolliders.50643/
The car seems to vibrate or shake when the car suspension starts leaning. Its very unrealistic and weird and I've tried to edit the script to get it to stop shaking to no avail. Can anyone point me to an anti-roll script (C# or JS) that is updated to Unity 5 and no longer has this shaking problem?
Also, is it possible to lerp the anti-roll to fix the vibrating?
EDIT: It seems turning down the anti-roll val from 5000 to 2000 fixes this a little, but it still has some shaking issues and it would sometimes suddenly jump. Setting the value too low, like 1000, will cause the vehicle to flip over.
Answer by madbuggerswall
Mar 04 at 08:44 AM
Your shaking problem could caused the WheelColliders if you are using them and you might want to check out and adjust the center of mass of your vehicle.
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a site navigation guide.
If you are a new user to Unity Answers, check out our FAQ for more information.
Make sure to check out our Knowledge Base for commonly asked Unity questions.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
47 People are following this question.
DirectoryInfo().GetFiles works incorrectly in Standalone
Unity4 Ignoring Inspector/Initialized Public Value in Build
No shadows in the game, but there are in the editor.
My grass suddenly disappeared
Floating GUITexture jumpy and buggy