Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Vehicle/Wheels physic problem

Discussion in 'Physics' started by mehdimoji, Mar 14, 2018.

  1. mehdimoji

    mehdimoji

    Joined:
    Oct 18, 2017
    Posts:
    22
    Hi.I have a car and when i turn for a several times, the car rise on one side. i change the Spring setting and box Collider but It did not affect! When car rise, don't go back to normal mode so on of the wheel has a torque and car turns around !This problem is just for turn left!
    I think this problem is not for :
    Code (CSharp):
    1. rigidCar.centerOfMass = new Vector3(0, -0.4f, 0);
    is it?
     
    Last edited: Mar 14, 2018
  2. StickyHoneybuns

    StickyHoneybuns

    Joined:
    Jan 16, 2018
    Posts:
    207
  3. mehdimoji

    mehdimoji

    Joined:
    Oct 18, 2017
    Posts:
    22
    Thank you Sticky.I found the problem, Sideway Friction was the problem.
     
    StickyHoneybuns likes this.