Search Unity

Unity 2.0 breaking the Vehicles Example?

Discussion in 'Scripting' started by Doleman, Oct 14, 2007.

  1. Doleman

    Doleman

    Joined:
    Aug 12, 2005
    Posts:
    87
    Hi all!

    I'm using bits and pices of the scripts found in the vehicles example, and after upgrading to 2.0 they seem to be somewhat wrecked :(
    I then upgraded the original scene with the same results..

    For example: The "bounciness" of the Jeep is all gone, even when I try to set other values... Something is just not working...

    Any thoughts/ideas what is breaking it?

    Best Regards
     
  2. bronxbomber92

    bronxbomber92

    Joined:
    Nov 11, 2006
    Posts:
    888
    I know the wheelcolliders have changed under the hood to be a bit more realistic. Could that be causing your problem?
     
  3. Joachim_Ante

    Joachim_Ante

    Unity Technologies

    Joined:
    Mar 16, 2005
    Posts:
    5,203
    You need to lower the spring / damper values in the wheel collider when upgrading.

    There were a couple of bugs in 1.6 which made the values specified not relate to real world values and the wheel collider now works a lot better with sliding and very high speeds.
     
  4. islanddreamer

    islanddreamer

    Joined:
    Apr 29, 2006
    Posts:
    473
    Do the plane or helicopter examples still work? I can't get either vehicle off the ground. Are there any other example scripts of flying vehicles?